aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-26 18:10:23 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-07-30 17:15:17 +0000
commit37642177f9fca5190ba4d732e34eb8861c32cf77 (patch)
tree62df3efc4badc6230abe9a06087c7a8a74f0871b /tests
parent6401b905743f1e47c7225c35c0852cefb00f673d (diff)
build: fix mess with 'db_test_SOURCES' and 'db_test_LDADD'
Somehow both 'db_test_SOURCES' and 'db_test_LDADD' ended up in 'src/Makefile.am'. This causes automake / autoconf to complain. Let's get rid of both useless declarations. Furthermore, the actual 'db_test_LDADD' in 'tests/Makefile.am' contained references to the source files from '$(top_srcdir)'. Most likely, the original intention was to depend on the object files in '$(top_builddir)'. Let's also fix this. Change-Id: Ib2e436ed91d9b7551dc5b205329d468c2b0ced04
Diffstat (limited to 'tests')
-rw-r--r--tests/db/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/db/Makefile.am b/tests/db/Makefile.am
index afda5be..fa925f8 100644
--- a/tests/db/Makefile.am
+++ b/tests/db/Makefile.am
@@ -26,10 +26,10 @@ db_test_SOURCES = \
$(NULL)
db_test_LDADD = \
- $(top_srcdir)/src/db.c \
- $(top_srcdir)/src/db_hlr.c \
- $(top_srcdir)/src/db_auc.c \
- $(top_srcdir)/src/logging.c \
+ $(top_builddir)/src/logging.o \
+ $(top_builddir)/src/db_auc.o \
+ $(top_builddir)/src/db_hlr.o \
+ $(top_builddir)/src/db.o \
$(LIBOSMOCORE_LIBS) \
$(LIBOSMOGSM_LIBS) \
$(LIBOSMOABIS_LIBS) \