Make --with-openssl do more

It now also adds lib64 to the library search path. On 32-bit systems this won't
hurt because such a directory most likely does not exist.

Also, because we are trying to find pkg-config via openssl first, the
appropriate dirs are also added to $PKG_CONFIG_PATH.

Thanks to DarthGandalf for some good suggestions on this one.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2056 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-07-03 07:56:04 +00:00
parent a4d46e8c3c
commit 4c69e66dec
2 changed files with 4 additions and 0 deletions
Vendored
+2
View File
@@ -3205,7 +3205,9 @@ fi
if test "x$SSL" != "xno"; then
if test -n "$OPENSSL"; then
appendLib -L${OPENSSL}/lib
appendLib -L${OPENSSL}/lib64
appendCXX -I${OPENSSL}/include
PKG_CONFIG_PATH="$OPENSSL/lib/pkgconfig/:$OPENSSL/lib64/pkgconfig/:$PKG_CONFIG_PATH"
fi
old_SSL=$SSL
+2
View File
@@ -186,7 +186,9 @@ fi
if test "x$SSL" != "xno"; then
if test -n "$OPENSSL"; then
appendLib -L${OPENSSL}/lib
appendLib -L${OPENSSL}/lib64
appendCXX -I${OPENSSL}/include
PKG_CONFIG_PATH="$OPENSSL/lib/pkgconfig/:$OPENSSL/lib64/pkgconfig/:$PKG_CONFIG_PATH"
fi
old_SSL=$SSL