aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-10-28 00:33:28 +0000
committerYang Tse <yangsita@gmail.com>2009-10-28 00:33:28 +0000
commit9fced16efb544dc37fe54b8ed94622ed22dd55be (patch)
tree0c479ddd0949f11e29248431c4ffb39331aa405c /configure.ac
parentf16868d3014bcb7892257b815bfbb6f51d96c0ce (diff)
libssh2 detection changes mentioned in http://curl.haxx.se/mail/lib-2009-10/0343.html
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 575adffe9..5ca38e002 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1720,9 +1720,9 @@ if test X"$OPT_LIBSSH2" != Xno; then
dnl if given with a prefix, we set -L and -I based on that
if test -n "$PREFIX_SSH2"; then
- LD_SSH2=-L${PREFIX_SSH2}/lib
+ LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
CPP_SSH2=-I${PREFIX_SSH2}/include
- DIR_SSH2=${PREFIX_SSH2}/lib
+ DIR_SSH2=${PREFIX_SSH2}/lib$libsuff
fi
LDFLAGS="$LDFLAGS $LD_SSH2"
@@ -1744,7 +1744,7 @@ if test X"$OPT_LIBSSH2" != Xno; then
fi
if test "$LIBSSH2_ENABLED" = "1"; then
- if test -n "$LIB_LIBSSH2"; then
+ if test -n "$DIR_SSH2"; then
dnl when the libssh2 shared libs were found in a path that the run-time
dnl linker doesn't search through, we need to add it to LD_LIBRARY_PATH
dnl to prevent further configure tests to fail due to this