]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3630 --resolve
authorSwK <krice@tollfreegateway.com>
Wed, 29 Feb 2012 00:21:04 +0000 (19:21 -0500)
committerSwK <krice@tollfreegateway.com>
Wed, 29 Feb 2012 00:21:04 +0000 (19:21 -0500)
Fix up the autoconf macro to properly use the linker flags for a
statically linked library.

build/config/libcurl.m4

index 5ddf77f3211a91d0aa48b44e74689cda7cecd623..d1e6f65aa5215b9fd1c8e6089321270a5805fd86 100644 (file)
@@ -97,7 +97,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
               LIBCURL_CPPFLAGS=`$_libcurl_config --cflags`
            fi
            if test x"$LIBCURL" = "x" ; then
-              LIBCURL=`$_libcurl_config --libs`
+              LIBCURL=`$_libcurl_config --libs --static`
 
               # This is so silly, but Apple actually has a bug in their
              # curl-config script.  Fixed in Tiger, but there are still