aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/db/Makefile.am4
-rw-r--r--tests/db/db_test.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/db/Makefile.am b/tests/db/Makefile.am
index 5c9c784c..3d9722c5 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 a6632b7f..2ccf243d 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) {}