mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user