summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lookup/Makefile.am6
-rw-r--r--tests/storage/Makefile.am6
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/lookup/Makefile.am b/tests/lookup/Makefile.am
index 10c5301..e50304a 100644
--- a/tests/lookup/Makefile.am
+++ b/tests/lookup/Makefile.am
@@ -21,7 +21,11 @@ INCLUDES = -I$(top_srcdir)/src \
-I$(top_srcdir)/tests \
@GLIB2_CFLAGS@
-LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
+LDADD = \
+ ../../src/libpinyin_internal.a \
+ ../../src/storage/libstorage.a \
+ ../../src/lookup/liblookup.a \
+ @GLIB2_LIBS@
noinst_PROGRAMS = test_pinyin_lookup \
test_phrase_lookup
diff --git a/tests/storage/Makefile.am b/tests/storage/Makefile.am
index 6f75534..a4b3c09 100644
--- a/tests/storage/Makefile.am
+++ b/tests/storage/Makefile.am
@@ -21,7 +21,11 @@ INCLUDES = -I$(top_srcdir)/src \
-I$(top_srcdir)/tests \
@GLIB2_CFLAGS@
-LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
+LDADD = \
+ ../../src/libpinyin_internal.a \
+ ../../src/storage/libstorage.a \
+ ../../src/lookup/liblookup.a \
+ @GLIB2_LIBS@
TESTS = test_phrase_index_logger \
test_ngram \