summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <pwu@redhat.com>2019-11-28 15:42:26 +0800
committerPeng Wu <pwu@redhat.com>2019-11-28 15:42:26 +0800
commit50a87b3efe0b10a9ae2ce989c0c0172e2984af32 (patch)
tree87f75013414c0e1fa02003758054876b31766061 /tests
parent51c551dc9a8b264315100a774720373a0e3744e6 (diff)
downloadlibpinyin-50a87b3efe0b10a9ae2ce989c0c0172e2984af32.tar.gz
improve autoconf for libpinyin_internal.a
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 \