blob: f8bf45b1d590b9af24e574011db4a8358d848014 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- a/m4/ssl.m4
+++ b/m4/ssl.m4
@@ -10,7 +10,6 @@
old_CPPFLAGS="$CPPFLAGS"
LIBS="$LIBS -lssl -lcrypto"
if test $loc != default; then
- LDFLAGS="$LDFLAGS -L$loc/lib"
CPPFLAGS="$CPPFLAGS -I$loc/include"
fi
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>
@@ -22,7 +21,6 @@
lftp_cv_openssl="OPENSSL_LIBS=\"-lssl -lcrypto\""
if test $found_loc != default; then
r=""; test "$enable_rpath" = yes -a "$found_loc" != /usr && r=" -R$found_loc/lib"
- lftp_cv_openssl="$lftp_cv_openssl OPENSSL_LDFLAGS=\"-L$found_loc/lib$r\""
lftp_cv_openssl="$lftp_cv_openssl OPENSSL_CPPFLAGS=-I$found_loc/include"
fi
break;
|