From: Marvin Scholz Date: Wed, 23 Feb 2022 18:03:51 +0000 (+0100) Subject: configure.ac: add missing Libs.private for macOS X-Git-Tag: 3.7.4~11^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c19cb93d492e45141bfef9b926dfeba36003261c;p=thirdparty%2Fgnutls.git configure.ac: add missing Libs.private for macOS On macOS the CoreFoundation and Security frameworks are used by GnuTLS, however those were missing in the Libs.private in the .pc resulting in link failures with static builds when relying on the output of pkg-config --static. Signed-off-by: Marvin Scholz --- diff --git a/configure.ac b/configure.ac index 53c3aefca1..9378d81f10 100644 --- a/configure.ac +++ b/configure.ac @@ -150,6 +150,7 @@ case "$host" in AC_MSG_CHECKING([whether the linker supports -Wl,-no_weak_imports]) AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); LDFLAGS="$save_LDFLAGS"]) + GNUTLS_LIBS_PRIVATE="${GNUTLS_LIBS_PRIVATE} -framework Security -framework CoreFoundation" ;; *solaris*) have_elf=yes