fix --with-libssh2 when given without path
authorDaniel Stenberg <daniel@haxx.se>
Thu, 27 Mar 2008 23:10:24 +0000 (23:10 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Mar 2008 23:10:24 +0000 (23:10 +0000)
configure.ac

index 15d3e93..e887bac 100644 (file)
@@ -1380,7 +1380,7 @@ if test X"$OPT_LIBSSH2" != Xno; then
   yes)
     dnl --with-libssh2 (without path) used
     PREFIX_LIBSSH2=/usr/local/lib
-    LIB_LIBSSH2="$PREFIX_LIBSSH2/lib$libsuff"
+    LIB_LIBSSH2="$PREFIX_LIBSSH2$libsuff"
     ;;
   off)
     dnl no --with-libssh2 option given, just check default places