diff options
author | Mu Qiao <qiaomuf@gentoo.org> | 2011-08-03 19:01:44 +0800 |
---|---|---|
committer | Mu Qiao <qiaomuf@gentoo.org> | 2011-08-04 22:15:15 +0800 |
commit | 98a8eb47739b8b9f1182ec3d2867fa425e10fd1c (patch) | |
tree | 714a6607f9d5b175aef1017b77133ac0be4645af | |
parent | Build: rename libcppbash to libbash (diff) | |
download | libbash-98a8eb47739b8b9f1182ec3d2867fa425e10fd1c.tar.gz libbash-98a8eb47739b8b9f1182ec3d2867fa425e10fd1c.tar.bz2 libbash-98a8eb47739b8b9f1182ec3d2867fa425e10fd1c.zip |
Build: add ABI version
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 63cabda..9a11e03 100644 --- a/Makefile.am +++ b/Makefile.am @@ -287,6 +287,7 @@ libbash_la_CXXFLAGS += -Wconversion -Wsign-conversion endif libbash_la_CFLAGS = $(AM_CFLAGS) -fvisibility=hidden libbash_la_LIBADD = libparser.la libwalker.la +libbash_la_LDFLAGS = -version-info $(LIBBASH_SO_VERSION) EXTRA_DIST = bashast/bashast.g \ bashast/libbashWalker.g \ diff --git a/configure.ac b/configure.ac index c5bbbb1..c05d21d 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,7 @@ AM_INIT_AUTOMAKE([foreign parallel-tests color-tests subdir-objects 1.11]) AM_SILENT_RULES([yes]) AC_PROG_CXX LT_INIT +AC_SUBST([LIBBASH_SO_VERSION], [0:0:0]) AC_ARG_ENABLE([developer], [AS_HELP_STRING([--enable-developer],[enables various QA checks])]) |