gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 95/163: configure: enhance ability to detect/build


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 95/163: configure: enhance ability to detect/build with static openssl
Date: Sun, 05 Aug 2018 12:37:01 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 351dabbf3dfe1370045a29aa6dba3e0a3686eaeb
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Jun 14 16:52:43 2018 +0200

    configure: enhance ability to detect/build with static openssl
    
    Fix the -ldl and -ldl + -lpthread checks for OpenSSL, necessary for
    building with static libs without pkg-config.
    
    Reported-by: Marcel Raad
    Fixes #2199
    Closes #2659
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index a9fd3d103..f38e1c0ce 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1657,7 +1657,7 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
 
        dnl still no, but what about with -ldl?
        AC_MSG_CHECKING([OpenSSL linking with -ldl])
-       LIBS="$LIBS -ldl"
+       LIBS="$LIBS -ldl -lcrypto"
        AC_TRY_LINK(
        [
          #include <openssl/err.h>
@@ -1674,7 +1674,7 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
          dnl ok, so what about bouth -ldl and -lpthread?
 
          AC_MSG_CHECKING([OpenSSL linking with -ldl and -lpthread])
-         LIBS="$LIBS -lpthread"
+         LIBS="$CLEANLIBS -ldl -lpthread -lcrypto"
          AC_TRY_LINK(
          [
            #include <openssl/err.h>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]