]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Correctly set SSL_LIBS during openssl detection if pkgconfig is not available.
authorRuediger Pluem <rpluem@apache.org>
Thu, 6 Nov 2008 22:23:21 +0000 (22:23 +0000)
committerRuediger Pluem <rpluem@apache.org>
Thu, 6 Nov 2008 22:23:21 +0000 (22:23 +0000)
PR: 46018

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711993 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
acinclude.m4

diff --git a/CHANGES b/CHANGES
index 26fdec5ca902bd41828bbe42a38959c15f748ada..fc61268d89766adbdf5a4641e2b0cd21aa3788c9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 Changes with Apache 2.3.0
 [ When backported to 2.2.x, remove entry from this file ]
 
+  *) Build: Correctly set SSL_LIBS during openssl detection if pkgconfig is
+     not available. PR 46018 [Ruediger Pluem]
+
   *) mod_expires: Do not sets negative max-age / Expires header in the past.
      PR 39774 [Jim Jagielski]
 
index f87e8a48ac8d45c5118178b4346013abc9b1d997..19d584885708f8ba10ae9f257d1770b201b7fb06 100644 (file)
@@ -447,10 +447,10 @@ if test "x$ap_ssltk_configured" = "x"; then
         pkglookup="`$PKGCONFIG --libs-only-L --libs-only-other openssl`"
         APR_ADDTO(LDFLAGS, [$pkglookup])
       else
-        ap_ssltk_libs="-lssl -lcrypto"
+        ap_ssltk_libs="-lssl -lcrypto `$apr_config --libs`"
       fi
     else
-      ap_ssltk_libs="-lssl -lcrypto"
+      ap_ssltk_libs="-lssl -lcrypto `$apr_config --libs`"
     fi
   fi
   APR_SETVAR(SSL_LIBS, [$ap_ssltk_libs])