-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from phunkyfish/gnutls-libdl-patch
Gnutls libdl patch and new stream types
- Loading branch information
Showing
8 changed files
with
119 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/configure.ac b/configure.ac | ||
index db1ce841f..264712b56 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -512,6 +512,9 @@ LT_INIT([disable-static,win32-dll,shared]) | ||
|
||
|
||
AC_LIB_HAVE_LINKFLAGS(dl,, [#include <dlfcn.h>], [dladdr (0, 0);]) | ||
+if test "x$HAVE_LIBDL" = "xyes"; then | ||
+ AC_SUBST([LIBDL], [-ldl]) | ||
+fi | ||
|
||
AC_ARG_ENABLE(fips140-mode, | ||
AS_HELP_STRING([--enable-fips140-mode], [enable FIPS140-2 mode]), | ||
diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in | ||
index ffad3e168..15b990764 100644 | ||
--- a/lib/gnutls.pc.in | ||
+++ b/lib/gnutls.pc.in | ||
@@ -19,6 +19,6 @@ Description: Transport Security Layer implementation for the GNU system | ||
URL: https://www.gnutls.org/ | ||
Version: @VERSION@ | ||
Libs: -L${libdir} -lgnutls | ||
-Libs.private: @LIBINTL@ @LIBSOCKET@ @INET_PTON_LIB@ @LIBPTHREAD@ @LIB_SELECT@ @TSS_LIBS@ @GMP_LIBS@ @LIBUNISTRING@ @LIBIDN2_LIBS@ @LIBATOMIC_LIBS@ | ||
+Libs.private: @LIBINTL@ @LIBSOCKET@ @INET_PTON_LIB@ @LIBPTHREAD@ @LIB_SELECT@ @TSS_LIBS@ @GMP_LIBS@ @LIBUNISTRING@ @LIBIDN2_LIBS@ @LIBATOMIC_LIBS@ @LIBDL@ | ||
@GNUTLS_REQUIRES_PRIVATE@ | ||
Cflags: -I${includedir} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters