mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:28:04 +03:00
configure: libssh2 link fix without pkg-config
The script didn't properly add the -lssh2 link option when it enabled libssh2 linking where pkg-config isn't found. Reported by: Saqib Ali Bug: http://curl.haxx.se/mail/lib-2011-04/0054.html
This commit is contained in:
parent
6710970bce
commit
fde795894f
1 changed files with 1 additions and 0 deletions
|
|
@ -2161,6 +2161,7 @@ if test X"$OPT_LIBSSH2" != Xno; then
|
|||
|
||||
dnl if given with a prefix, we set -L and -I based on that
|
||||
if test -n "$PREFIX_SSH2"; then
|
||||
LIB_SSH2="-lssh2"
|
||||
LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
|
||||
CPP_SSH2=-I${PREFIX_SSH2}/include
|
||||
DIR_SSH2=${PREFIX_SSH2}/lib$libsuff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue