From faaaf626551f540e578dad18cab4efbfded38937 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 25 Oct 2007 22:30:35 +0000 Subject: Added the --static-libs option to curl-config --- curl-config.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'curl-config.in') 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 -- cgit v1.2.1