diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2016-09-24 08:52:01 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2016-09-24 08:52:01 +0200 |
commit | 1e7b79731b6cb2db56a9ee9ab7ac9f4818affeda (patch) | |
tree | 6f925e5dcbd42d80befc7f84bc4cd1d75d81138d /configure.ac | |
parent | cd7f562bdc965be414c28347d32f6903a38f8a62 (diff) | |
download | curl-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.ac | 2 |
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" |