diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-01 11:02:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-01 11:02:37 +0200 |
commit | 8485e26b60e58e6a893745c81a138f4d266f969e (patch) | |
tree | 269a375b4b531fbd449e83a7eb1079ffb7a28b9e | |
parent | 82149e70a505ca43c606836fac023a750510d71d (diff) | |
download | curl-bagder/soname.tar.gz |
lib/libcurl.soname: provide the SONAME variable separatelybagder/soname
To allow other build systems to use it better.
-rw-r--r-- | lib/Makefile.am | 17 | ||||
-rw-r--r-- | lib/libcurl.soname | 14 |
2 files changed, 17 insertions, 14 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 0a263306a..02c2351f0 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -30,7 +30,7 @@ EXTRA_DIST = Makefile.m32 config-win32.h config-win32ce.h \ config-os400.h setup-os400.h config-symbian.h Makefile.Watcom \ config-tpf.h mk-ca-bundle.pl mk-ca-bundle.vbs $(CMAKE_DIST) \ firefox-db2pem.sh config-vxworks.h Makefile.vxworks checksrc.pl \ - setup-win32.h + setup-win32.h libcurl.soname lib_LTLIBRARIES = libcurl.la @@ -66,19 +66,8 @@ endif # Prevent LIBS from being used for all link targets LIBS = $(BLANK_AT_MAKETIME) -VERSIONINFO=-version-info 10:0:6 -# This flag accepts an argument of the form current[:revision[:age]]. So, -# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to -# 1. -# -# Here's the simplified rule guide on how to change -version-info: -# (current version is C:R:A) -# -# 1. if there are only source changes, use C:R+1:A -# 2. if interfaces were added use C+1:0:A+1 -# 3. if interfaces were removed, then use C+1:0:0 -# -# For the full guide on libcurl ABI rules, see docs/libcurl/ABI +include libcurl.soname +VERSIONINFO=-version-info $(SONAME) AM_CPPFLAGS += -DBUILDING_LIBCURL AM_LDFLAGS = diff --git a/lib/libcurl.soname b/lib/libcurl.soname new file mode 100644 index 000000000..d5e38b4b9 --- /dev/null +++ b/lib/libcurl.soname @@ -0,0 +1,14 @@ +### File to be included in the build ### + +SONAME = 10:0:6 + +# This variable is set to current[:revision[:age]]. +# +# Here's the simplified rule guide on how to change it: +# (current version is C:R:A) +# +# 1. if there are only source changes, use C:R+1:A +# 2. if interfaces were added use C+1:0:A+1 +# 3. if interfaces were removed, then use C+1:0:0 +# +# For the full guide on libcurl ABI rules, see docs/libcurl/ABI |