summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4cb72f9..2ada1da 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -42,6 +42,9 @@ libpinyin_la_SOURCES = pinyin.cpp
libpinyin_la_LIBADD = storage/libstorage.la lookup/liblookup.la
+libpinyin_la_LDFLAGS = -Wl,--version-script=libpinyin.ver \
+ -version-info "0:3:0"
+
libpinyin_internal_la_SOURCES = pinyin_internal.cpp
libpinyin_internal_la_LIBADD = storage/libstorage.la lookup/liblookup.la