aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 958b4ad1f0..7885fa7c6c 100755
--- a/configure
+++ b/configure
@@ -4654,7 +4654,11 @@ if test "$_libcurl" != "no"; then
if test -z "$_libcurlconfig"; then
_libcurl=no
else
- LIBCURL_LIBS=`$_libcurlconfig --libs`
+ if test -n "$_staticlibpath"; then
+ LIBCURL_LIBS=`$_libcurlconfig --static-libs`
+ else
+ LIBCURL_LIBS=`$_libcurlconfig --libs`
+ fi
LIBCURL_CFLAGS=`$_libcurlconfig --cflags`
case $_host_os in