summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-07-08 15:09:28 +0800
committerPeng Wu <alexepico@gmail.com>2015-07-08 15:09:28 +0800
commit3b7b004ecd617e392102d70c3828536235435a89 (patch)
treefaeecee22a5c788726dfa0e8491cff59016997ef /src/Makefile.am
parent3a7d3dc0c8982f89bdb2981ea4f5d56a696627b3 (diff)
downloadlibpinyin-3b7b004ecd617e392102d70c3828536235435a89.tar.gz
libpinyin-3b7b004ecd617e392102d70c3828536235435a89.tar.xz
libpinyin-3b7b004ecd617e392102d70c3828536235435a89.zip
re-facter Makefile.am
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5600c86..b38a980 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -49,10 +49,17 @@ libpinyin_la_LIBADD = storage/libstorage.la lookup/liblookup.la @GLIB2_LIBS@
libpinyin_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libpinyin.ver \
-version-info @LT_VERSION_INFO@
+if KYOTOCABINET
+libpinyin_la_LDFLAGS += @KYOTOCABINET_LIBS@
+endif
+
libpinyin_internal_la_SOURCES = pinyin_internal.cpp
libpinyin_internal_la_LIBADD = storage/libstorage.la lookup/liblookup.la
+if KYOTOCABINET
+libpinyin_internal_la_LDFLAGS = @KYOTOCABINET_LIBS@
+endif
## Note:
## As libpinyin internal interface will change, only provides static library