summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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