summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-04-20 16:21:58 +0800
committerPeng Wu <alexepico@gmail.com>2015-04-20 16:21:58 +0800
commit66e1956cedc8e0e33a900e843cfea842e4483a6a (patch)
treeec72928b4055b72fc59cc5f1ed7ade07d0477571 /tests
parent8e47e4c42f969ffd3709079db7a74b01ffd0663d (diff)
downloadlibpinyin-66e1956cedc8e0e33a900e843cfea842e4483a6a.tar.gz
libpinyin-66e1956cedc8e0e33a900e843cfea842e4483a6a.tar.xz
libpinyin-66e1956cedc8e0e33a900e843cfea842e4483a6a.zip
update Makefile.am
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
-rw-r--r--tests/lookup/Makefile.am4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 93df7d6..7666a6c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -32,6 +32,10 @@ INCLUDES = -I$(top_srcdir)/src \
LDADD = ../src/libpinyin.la @GLIB2_LIBS@
+if KYOTOCABINET
+LDADD += @KYOTOCABINET_LIBS@
+endif
+
noinst_HEADERS = timer.h \
tests_helper.h
diff --git a/tests/lookup/Makefile.am b/tests/lookup/Makefile.am
index 804d037..e36f5be 100644
--- a/tests/lookup/Makefile.am
+++ b/tests/lookup/Makefile.am
@@ -24,6 +24,10 @@ INCLUDES = -I$(top_srcdir)/src \
LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
+if KYOTOCABINET
+LDADD += @KYOTOCABINET_LIBS@
+endif
+
noinst_PROGRAMS = test_pinyin_lookup \
test_phrase_lookup