mirror of https://github.com/moparisthebest/curl
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.
This commit is contained in:
parent
cd7f562bdc
commit
1e7b79731b
|
@ -2581,7 +2581,7 @@ if test X"$OPT_LIBSSH2" != Xno; then
|
||||||
DIR_SSH2=${PREFIX_SSH2}/lib$libsuff
|
DIR_SSH2=${PREFIX_SSH2}/lib$libsuff
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LDFLAGS="$LDFLAGS $LD_SSH2"
|
LDFLAGS="$LD_SSH2 $LDFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $CPP_SSH2"
|
CPPFLAGS="$CPPFLAGS $CPP_SSH2"
|
||||||
LIBS="$LIB_SSH2 $LIBS"
|
LIBS="$LIB_SSH2 $LIBS"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue