]> granicus.if.org Git - curl/commitdiff
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 15d3e93decf568c0c24203634d968b75beb60c8f..e887bac42abc3d42bec2ee04bb2aaed8b241cc30 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