]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9673 Strip release version from library name
authorOndřej Kuzník <ondra@mistotebe.net>
Thu, 16 Sep 2021 11:31:41 +0000 (12:31 +0100)
committerOndřej Kuzník <ondra@mistotebe.net>
Thu, 16 Sep 2021 15:11:03 +0000 (16:11 +0100)
build/top.mk
build/version.sh

index 38ce146d7705ee8e0286673b6b1981d2232a1990..ef08c067ac9bede403eedf507a93989dec713684 100644 (file)
@@ -73,9 +73,8 @@ MKDEP_CFLAGS = @OL_MKDEP_FLAGS@
 MKVERSION = $(top_srcdir)/build/mkversion -v "$(VERSION)"
 
 LIBTOOL = @LIBTOOL@
-LIBRELEASE = @OPENLDAP_LIBRELEASE@
 LIBVERSION = @OPENLDAP_LIBVERSION@
-LTVERSION = -release $(LIBRELEASE) -version-info $(LIBVERSION)
+LTVERSION = -version-info $(LIBVERSION)
 
 # libtool --only flag for libraries: platform specific
 NT_LTONLY_LIB = # --only-$(BUILD_LIBS_DYNAMIC)
index 923518006dec34870783c1fae7818c1a0baea01c..799a33ca347fee15e69d42ebcabcd9828ea876f3 100755 (executable)
@@ -18,15 +18,12 @@ DIR=`dirname $0`
 
 if test $ol_patch != X ; then
        ol_version=${ol_major}.${ol_minor}.${ol_patch}
-       ol_api_lib_release=${ol_major}.${ol_minor}
        ol_type=Release
 elif test $ol_minor != X ; then
        ol_version=${ol_major}.${ol_minor}.${ol_patch}
-       ol_api_lib_release=${ol_major}.${ol_minor}.releng
        ol_type=Engineering
 else
        ol_version=${ol_major}.${ol_minor}
-       ol_api_lib_release=${ol_major}.devel
        ol_type=Devel
 fi
 
@@ -38,7 +35,6 @@ echo OL_MAJOR=$ol_major
 echo OL_MINOR=$ol_minor
 echo OL_PATCH=$ol_patch
 echo OL_API_INC=$ol_api_inc
-echo OL_API_LIB_RELEASE=$ol_api_lib_release
 echo OL_API_LIB_VERSION=$ol_api_lib_version
 echo OL_VERSION=$ol_version
 echo OL_TYPE=$ol_type