Permalink
Browse files

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
  • Loading branch information...
psychon
psychon committed Jul 3, 2010
1 parent a4d46e8 commit 4c69e66dec1fb0b99ae085fb882674d0d3205c18
Showing with 4 additions and 0 deletions.
  1. +2 −0 configure
  2. +2 −0 configure.in
View
@@ -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
View
@@ -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

0 comments on commit 4c69e66

Please sign in to comment.