From 1e7b79731b6cb2db56a9ee9ab7ac9f4818affeda Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 24 Sep 2016 08:52:01 +0200 Subject: configure: Fixed builds with libssh2 in a custom location A libssh2 library in the standard system location was being used in preference to the desired one while linking. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f7f8e0c5f..1f01467ef 100644 --- a/configure.ac +++ b/configure.ac @@ -2581,7 +2581,7 @@ if test X"$OPT_LIBSSH2" != Xno; then DIR_SSH2=${PREFIX_SSH2}/lib$libsuff fi - LDFLAGS="$LDFLAGS $LD_SSH2" + LDFLAGS="$LD_SSH2 $LDFLAGS" CPPFLAGS="$CPPFLAGS $CPP_SSH2" LIBS="$LIB_SSH2 $LIBS" -- cgit v1.2.3