Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quanah Gibson-Mount
OpenLDAP
Commits
f8bc0913
Commit
f8bc0913
authored
Sep 16, 2021
by
Ondřej Kuzník
Browse files
ITS#9673 Strip release version from library name
parent
0903cb84
Changes
2
Hide whitespace changes
Inline
Side-by-side
build/top.mk
View file @
f8bc0913
...
...
@@ -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)
...
...
build/version.sh
View file @
f8bc0913
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment