From 50a87b3efe0b10a9ae2ce989c0c0172e2984af32 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 28 Nov 2019 15:42:26 +0800 Subject: improve autoconf for libpinyin_internal.a --- tests/lookup/Makefile.am | 6 +++++- tests/storage/Makefile.am | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'tests') 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 \ -- cgit v1.2.1