mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 03:55:03 -05:00
Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS
(respectively) when --with-ssl=/usr is used (patch based on FreeBSD).
This commit is contained in:
parent
01140217f5
commit
4b441ebac5
4
CHANGES
4
CHANGES
@ -6,6 +6,10 @@
|
||||
|
||||
Changelog
|
||||
|
||||
Daniel Fandrich (4 Feb 2009)
|
||||
- Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS
|
||||
(respectively) when --with-ssl=/usr is used (patch based on FreeBSD).
|
||||
|
||||
Daniel Stenberg (3 Feb 2009)
|
||||
- Hidemoto Nakada provided a small fix that makes it possible to get the
|
||||
CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
|
||||
|
@ -1171,8 +1171,11 @@ if test X"$OPT_SSL" != Xno; then
|
||||
PKGTEST="no"
|
||||
PREFIX_OPENSSL=$OPT_SSL
|
||||
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
|
||||
LDFLAGS="$LDFLAGS -L$LIB_OPENSSL"
|
||||
CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
|
||||
if [ "$PREFIX_OPENSSL" != "/usr" ] ; then
|
||||
LDFLAGS="$LDFLAGS -L$LIB_OPENSSL"
|
||||
CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include"
|
||||
fi
|
||||
CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include/openssl"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user