From bab9cd9a2715e416664d08a56bdacefd6e921e4f Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sun, 12 Apr 2009 05:37:07 +0000 Subject: [tests] Change the db_test to link to the libopenbsc.a This should keep the test compiling in the future. It will link to the libopenbsc.a to get all symbols. We do this in the other tests too. --- tests/db/Makefile.am | 4 ++-- tests/db/db_test.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/db/Makefile.am b/tests/db/Makefile.am index 5c9c784c6..3d9722c50 100644 --- a/tests/db/Makefile.am +++ b/tests/db/Makefile.am @@ -3,6 +3,6 @@ AM_CFLAGS=-Wall -ggdb3 noinst_PROGRAMS = db_test -db_test_SOURCES = db_test.c $(top_srcdir)/src/db.c $(top_srcdir)/src/gsm_subscriber.c -db_test_LDADD = -ldl -ldbi +db_test_SOURCES = db_test.c +db_test_LDADD = $(top_builddir)/src/libbsc.a -ldl -ldbi diff --git a/tests/db/db_test.c b/tests/db/db_test.c index a6632b7f9..2ccf243d6 100644 --- a/tests/db/db_test.c +++ b/tests/db/db_test.c @@ -100,3 +100,7 @@ int main() { return 0; } + +/* stubs */ +void input_event(void) {} +void nm_state_event(void) {} -- cgit v1.2.3