diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2011-12-16 15:33:48 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-12-19 23:25:36 +0100 |
commit | 7cc2e8b349df28d55d5f40bfae323485df9f0cf2 (patch) | |
tree | 9f79d8c47d6fc05ae52b8a92e9b33c5e5e91baa0 /lib/libcurl.vers.in | |
parent | 3c18b38dcc59cbb4f62b48cc4d7004f6bccffc37 (diff) | |
download | curl-7cc2e8b349df28d55d5f40bfae323485df9f0cf2.tar.gz |
configure: add symbols versioning option
Allow, at configure time, the production of versioned symbols. The
symbols will look like "CURL_<FLAVOUR>_<VERSION> <SYMBOL>", where
<FLAVOUR> represents the SSL flavour (e.g. OPENSSL, GNUTLS, NSS, ...),
<VERSION> is the major SONAME version and <SYMBOL> is the actual symbol
name. If no SSL library is enabled the symbols will be just
"CURL_<VERSION> <SYMBOL>".
Diffstat (limited to 'lib/libcurl.vers.in')
-rw-r--r-- | lib/libcurl.vers.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libcurl.vers.in b/lib/libcurl.vers.in new file mode 100644 index 000000000..8294557b8 --- /dev/null +++ b/lib/libcurl.vers.in @@ -0,0 +1,13 @@ +HIDDEN +{ + local: + __*; + _rest*; + _save*; +}; + +CURL_@VERSIONED_FLAVOUR@4 +{ + global: curl_*; + local: *; +}; |