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>".
This commit is contained in:
committed by
Daniel Stenberg
parent
3c18b38dcc
commit
7cc2e8b349
13
lib/libcurl.vers.in
Normal file
13
lib/libcurl.vers.in
Normal file
@@ -0,0 +1,13 @@
|
||||
HIDDEN
|
||||
{
|
||||
local:
|
||||
__*;
|
||||
_rest*;
|
||||
_save*;
|
||||
};
|
||||
|
||||
CURL_@VERSIONED_FLAVOUR@4
|
||||
{
|
||||
global: curl_*;
|
||||
local: *;
|
||||
};
|
||||
Reference in New Issue
Block a user