projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6710970
)
configure: libssh2 link fix without pkg-config
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 12 Apr 2011 20:10:29 +0000
(22:10 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 12 Apr 2011 20:10:29 +0000
(22:10 +0200)
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
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
08f30fa
..
ba09f07
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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