[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 04/125: lib: don't export all symbols, just everyth
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 04/125: lib: don't export all symbols, just everything curl_* |
Date: |
Sun, 21 Jan 2018 23:40:59 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 4b414249107a782dca26926caa2947b9820d5255
Author: W. Mark Kubacki <address@hidden>
AuthorDate: Thu Nov 30 00:43:38 2017 +0100
lib: don't export all symbols, just everything curl_*
Absent any 'symbol map' or script to limit what gets exported, static
linking of libraries previously resulted in a libcurl with curl's and
those other symbols being (re-)exported.
This did not happen if 'versioned symbols' were enabled (which is not
the default) because then a version script is employed.
This limits exports to everything starting in 'curl_*'., which is
what "libcurl.vers" exports.
This avoids strange side-effects such as with mixing methods
from system libraries and those erroneously offered by libcurl.
Closes #2127
---
lib/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 151c2615e..87c64f3a8 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -106,6 +106,8 @@ endif
if CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS
libcurl_la_LDFLAGS_EXTRA += -Wl,--version-script=libcurl.vers
+else
+libcurl_la_LDFLAGS_EXTRA += -export-symbols-regex '^curl_.*'
endif
if USE_CPPFLAG_CURL_STATICLIB
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] branch master updated (851483824 -> cc5f34a99), gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 04/125: lib: don't export all symbols, just everything curl_*,
gnunet <=
- [GNUnet-SVN] [gnurl] 10/125: .travis.yml: added build --with-libssh, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 11/125: symbols-in-versions: added new symbols with 7.56.3 version, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 02/125: examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 01/125: travis: add boringssl build, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 09/125: libssh2: return CURLE_UPLOAD_FAILED on failure to upload, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 05/125: curlver: towards 7.57.1, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 06/125: RELEASE-NOTES: synced with af8cc7a69, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 13/125: lib582: do not verify host for SFTP, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 16/125: libssh: fix minor static code analyzer nits, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 18/125: libssh: corrected use of sftp_statvfs() in SSH_SFTP_QUOTE_STATVFS, gnunet, 2018/01/21