summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-10-25 22:30:35 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-10-25 22:30:35 +0000
commitfaaaf626551f540e578dad18cab4efbfded38937 (patch)
tree8536977f49ecbfc199a1fbc85165bc59a49dc864 /curl-config.in
parent43885493eaf0c4452bc50bece8b4ec1ab1280ff1 (diff)
downloadcurl-faaaf626551f540e578dad18cab4efbfded38937.tar.gz
Added the --static-libs option to curl-config
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/curl-config.in b/curl-config.in
index 92d1bb02e..157837143 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -41,10 +41,11 @@ Available values for OPTION include:
--cflags pre-processor and compiler flags
--checkfor [version] check for (lib)curl of the specified version
--features newline separated list of enabled features
- --protocols newline separated list of enabled protocols
--help display this help and exit
--libs library linking information
--prefix curl install prefix
+ --protocols newline separated list of enabled protocols
+ --static-libs static libcurl library linking information
--version output version information
--vernum output the version information as a number (hexadecimal)
EOF
@@ -200,6 +201,10 @@ while test $# -gt 0; do
fi
;;
+ --static-libs)
+ echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
+ ;;
+
*)
echo "unknown option: $1"
usage 1