summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/Makefile.am
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2018-09-07 00:27:45 +0300
committerdartraiden <wowemuh@gmail.com>2018-09-07 00:29:12 +0300
commitdc059a02a3d8d1f3f509ba31b7618cee001cba93 (patch)
treea61572eda5489fcac8a2bbe896a788b297b8257a /libs/libcurl/src/Makefile.am
parenta0fa47ed9d7be66a62f1cd05bc9577588c04a4fe (diff)
libcurl: update to 7.61.1
Diffstat (limited to 'libs/libcurl/src/Makefile.am')
-rw-r--r--libs/libcurl/src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/libcurl/src/Makefile.am b/libs/libcurl/src/Makefile.am
index 277839824d..7e82d467e9 100644
--- a/libs/libcurl/src/Makefile.am
+++ b/libs/libcurl/src/Makefile.am
@@ -107,8 +107,11 @@ endif
if CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS
libcurl_la_LDFLAGS_EXTRA += -Wl,--version-script=libcurl.vers
else
+# if symbol-hiding is enabled, hide them!
+if DOING_CURL_SYMBOL_HIDING
libcurl_la_LDFLAGS_EXTRA += -export-symbols-regex '^curl_.*'
endif
+endif
if USE_CPPFLAG_CURL_STATICLIB
libcurl_la_CPPFLAGS_EXTRA += -DCURL_STATICLIB