summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2016-09-24 08:52:01 +0200
committerDan Fandrich <dan@coneharvesters.com>2016-09-24 08:52:01 +0200
commit1e7b79731b6cb2db56a9ee9ab7ac9f4818affeda (patch)
tree6f925e5dcbd42d80befc7f84bc4cd1d75d81138d /configure.ac
parentcd7f562bdc965be414c28347d32f6903a38f8a62 (diff)
downloadcurl-1e7b79731b6cb2db56a9ee9ab7ac9f4818affeda.tar.gz
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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"