diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-12-09 13:33:48 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-12-09 13:33:48 +0100 |
commit | 5ef3a70d1d1d3932a31e1785e4b687634f0c1ec6 (patch) | |
tree | b30def89fdd8ef550791e38bdcaf1ad8c8fd0f57 /cmake | |
parent | 47c7de60082a7f66c0965eb6e8b5efe4e5109c0e (diff) | |
download | tigervnc-5ef3a70d1d1d3932a31e1785e4b687634f0c1ec6.tar.gz tigervnc-5ef3a70d1d1d3932a31e1785e4b687634f0c1ec6.zip |
Fix link order of nettle and hogweed
Hogweed needs nettle, not the other way around. So make sure they
are specified in the correct order for the static link to succeed.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/StaticBuild.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake index 38177a1c..e539619e 100644 --- a/cmake/StaticBuild.cmake +++ b/cmake/StaticBuild.cmake @@ -41,7 +41,7 @@ if(BUILD_STATIC) set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -ltasn1") endif() if(NETTLE_LIBRARY) - set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lnettle -lhogweed -lgmp") + set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lhogweed -lnettle -lgmp") endif() if(GCRYPT_LIBRARY) set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lgcrypt -lgpg-error") |