mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:03:34 +03:00
Introduced the configure option --enable-soname-bump that lets a user enforce
an SONAME bump.
This commit is contained in:
parent
a104a365e3
commit
8dabd34432
3 changed files with 49 additions and 6 deletions
|
|
@ -58,7 +58,20 @@ INCLUDES = -I$(top_builddir)/include \
|
|||
-I$(top_builddir)/lib \
|
||||
-I$(top_srcdir)/lib
|
||||
|
||||
VERSION=-version-info 5:0:1
|
||||
if SONAME_BUMP
|
||||
#
|
||||
# Bumping of SONAME conditionally may seem like a weird thing to do, and yeah
|
||||
# it is. The problem is that we try to avoid the bump as hard as possible, but
|
||||
# yet it is still necessary for a few rare situations. The configure script will
|
||||
# attempt to figure out these situations, and it can be forced to consider this
|
||||
# to be such a case! See README.curl_off_t for further details.
|
||||
#
|
||||
# This conditional soname bump SHOULD be removed at next "proper" bump.
|
||||
#
|
||||
VERSIONINFO=-version-info 6:0:1
|
||||
else
|
||||
VERSIONINFO=-version-info 5:0:1
|
||||
endif
|
||||
|
||||
# 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
|
||||
|
|
@ -99,7 +112,7 @@ if MIMPURE
|
|||
MIMPURE = -mimpure-text
|
||||
endif
|
||||
|
||||
libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(MIMPURE) $(LIBCURL_LIBS)
|
||||
libcurl_la_LDFLAGS = $(UNDEF) $(VERSIONINFO) $(MIMPURE) $(LIBCURL_LIBS)
|
||||
|
||||
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
||||
include Makefile.inc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue