mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
curl-config: don't output static libs when they are disabled
Curl-config outputs static libraries even when they are disabled in configure. This causes problems with the build of pycurl.
This commit is contained in:
parent
d9569720dd
commit
68e7fb499d
2 changed files with 11 additions and 1 deletions
|
|
@ -155,7 +155,12 @@ while test $# -gt 0; do
|
|||
;;
|
||||
|
||||
--static-libs)
|
||||
echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@
|
||||
if test "X@ENABLE_STATIC@" != "Xno" ; then
|
||||
echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@
|
||||
else
|
||||
echo "curl was built with static libraries disabled" >&2
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
--configure)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue