From eb13d1be689e369d19d75d74c8a6b127d416d3e3 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 7 Dec 2020 12:34:03 +0100 Subject: [PATCH] Fix bad library references for some static deps --- cmake/StaticBuild.cmake | 4 ++-- 1 file 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") -- 2.39.5