From 4c16ecb47f3c91037c03fd4553d8b55dc0ebc426 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 18 Dec 2017 17:36:42 -0600 Subject: BUILD: Fix missing frameworks for iOS static builds --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3