[tepl] amtk: separate libtool version
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] amtk: separate libtool version
- Date: Sat, 15 Jul 2017 12:36:39 +0000 (UTC)
commit 6abe0129151fe3fe865264ac7182398943a2fb58
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Jul 15 14:34:57 2017 +0200
amtk: separate libtool version
amtk/Makefile.am | 2 +-
configure.ac | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/amtk/Makefile.am b/amtk/Makefile.am
index 6172b1a..2638a43 100644
--- a/amtk/Makefile.am
+++ b/amtk/Makefile.am
@@ -59,7 +59,7 @@ libamtk_@TEPL_API_VERSION@_la_LIBADD = \
$(AMTK_DEP_LIBS)
libamtk_@TEPL_API_VERSION@_la_LDFLAGS = \
- -version-info $(TEPL_LT_VERSION) \
+ -version-info $(AMTK_LT_VERSION) \
-no-undefined \
-export-symbols-regex "^amtk_.*" \
$(WARN_LDFLAGS)
diff --git a/configure.ac b/configure.ac
index 0d44862..4c40954 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,11 +34,17 @@ AX_IS_RELEASE([git-directory])
# When incrementing the API version (usually for a new major package version),
# set CURRENT, REVISION and AGE to 0 since it's like a new library.
+AMTK_LT_CURRENT=0
+AMTK_LT_REVISION=0
+AMTK_LT_AGE=0
+AMTK_LT_VERSION="$AMTK_LT_CURRENT:$AMTK_LT_REVISION:$AMTK_LT_AGE"
+AC_SUBST([AMTK_LT_VERSION])
+
TEPL_LT_CURRENT=0
TEPL_LT_REVISION=0
TEPL_LT_AGE=0
TEPL_LT_VERSION="$TEPL_LT_CURRENT:$TEPL_LT_REVISION:$TEPL_LT_AGE"
-AC_SUBST(TEPL_LT_VERSION)
+AC_SUBST([TEPL_LT_VERSION])
# API version, used for parallel installability.
# Not used in:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]