Merge pull request #50 from bphinz/buildfixes

Fixes for package builds after commit f95272d.
Put quotes around entire static link variables

CMake is very aggressive about minimising the list of libraries,
so we need to be similarily aggressive about quotes to make sure
we get everything we want and in the correct order.
Only link with crypt32 on Windows

crypt32 is a Windows thing, and it is used no matter the crypto
backend.
Include gettext and zlib in static GnuTLS link

This is needed to make sure they are always included, and in the
proper order.
Remove verbose TLS logging

We don't even log this much for RFB protocol stuff, and it makes
it very annoying to run with full debugging on.
Remove unused variable
Use dynamic builds by default

Static builds are the special case, so it should be left off
by default.
Merge branch 'build' of https://github.com/CendioOssman/tigervnc
Merge pull request #53 from bphinz/buildfixes

Major overhaul of SSLEngineManager
Remove obsolete reference to staticlib

We don't use that directory anymore.
The output variable from find_library() needs to be cleared

Otherwise you'll just get the initial response back every time
you call it.
Split up any entries that contain multiple link arguments

This happens sometimes in order to enforce a strict ordering.
Handle arguments that have the -l prefix
Handle static linking flags in .la files
Handle mingw circular dependencies in base libraries

Our link order should now match the built-in library list.
Merge branch 'build' of https://github.com/CendioOssman/tigervnc
Merge remote-tracking branch 'upstream/master' into buildfixes