aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2020-12-07 12:34:03 +0100
committerPierre Ossman <ossman@cendio.se>2020-12-07 12:34:03 +0100
commiteb13d1be689e369d19d75d74c8a6b127d416d3e3 (patch)
tree83bc2f581b7249872aaa8af6ed522284a24a0d3e /cmake
parentd484001e97ff113e4526bd97661fffcd0372bb34 (diff)
downloadtigervnc-eb13d1be689e369d19d75d74c8a6b127d416d3e3.tar.gz
tigervnc-eb13d1be689e369d19d75d74c8a6b127d416d3e3.zip
Fix bad library references for some static deps
Diffstat (limited to 'cmake')
-rw-r--r--cmake/StaticBuild.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake
index c7c93526..1af9893b 100644
--- a/cmake/StaticBuild.cmake
+++ b/cmake/StaticBuild.cmake
@@ -63,7 +63,7 @@ if(BUILD_STATIC)
FIND_LIBRARY(TASN1_LIBRARY NAMES tasn1 libtasn1
HINTS ${PC_GNUTLS_LIBDIR} ${PC_GNUTLS_LIBRARY_DIRS})
FIND_LIBRARY(IDN2_LIBRARY NAMES idn2 libidn2
- HINTS ${PC_GETTEXT_LIBDIR} ${PC_GETTEXT_LIBRARY_DIRS})
+ HINTS ${PC_GNUTLS_LIBDIR} ${PC_GNUTLS_LIBRARY_DIRS})
set(GNUTLS_LIBRARIES "-Wl,-Bstatic -lgnutls")
@@ -77,7 +77,7 @@ if(BUILD_STATIC)
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lgcrypt -lgpg-error")
endif()
if(IDN2_LIBRARY)
- set(GETTEXT_LIBRARIES "${GETTEXT_LIBRARIES} -lidn2")
+ set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lidn2")
endif()
set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -Wl,-Bdynamic")