mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
Don't bother adding a library path of /usr/lib in curl-config --libs
This commit is contained in:
parent
e3ade3ccb5
commit
c5e7d839d5
5
CHANGES
5
CHANGES
@ -6,6 +6,11 @@
|
||||
|
||||
Changelog
|
||||
|
||||
Dan F (14 February 2007)
|
||||
- Fixed curl-config --libs so it doesn't list unnecessary libraries (and
|
||||
therefore introduce unnecessary dependencies) when it's not needed.
|
||||
Also, don't bother adding a library path of /usr/lib
|
||||
|
||||
Daniel (13 February 2007)
|
||||
- The default password for anonymous FTP connections is now changed to be
|
||||
"ftp@example.com".
|
||||
|
@ -6,7 +6,7 @@
|
||||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 2001 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 2001 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# This software is licensed as described in the file COPYING, which
|
||||
# you should have received as part of this distribution. The terms
|
||||
@ -181,10 +181,15 @@ while test $# -gt 0; do
|
||||
;;
|
||||
|
||||
--libs)
|
||||
if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
|
||||
echo -L@libdir@ -lcurl @LDFLAGS@ @LIBS@
|
||||
if test "X@libdir@" != "X/usr/lib"; then
|
||||
CURLLIBDIR="-L@libdir@ "
|
||||
else
|
||||
echo -L@libdir@ -lcurl @LDFLAGS@
|
||||
CURLLIBDIR=""
|
||||
fi
|
||||
if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
|
||||
echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
|
||||
else
|
||||
echo ${CURLLIBDIR}-lcurl @LDFLAGS@
|
||||
fi
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user