summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-11-07 00:55:34 +0700
committerlaforge <laforge@osmocom.org>2019-11-07 13:37:40 +0000
commit7cc8c03088f733ff2a98be0bc31bc1e60a4d6cb5 (patch)
treec44715b2d840722c065a007fac2bdb335d41a781
parentfec3785156cb86ecf71a1e9c0b5e5ca6eb637440 (diff)
tests/sccp/Makefile.am: use sccp.o from $(top_builddir)
This change suspends the warnings about option 'subdir-objects', by using the existing object file from the build directory. Change-Id: I4dc2abb19c58fce0a12cc9799019878194c667d1
-rw-r--r--tests/sccp/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/sccp/Makefile.am b/tests/sccp/Makefile.am
index 8cce20c..85dbe64 100644
--- a/tests/sccp/Makefile.am
+++ b/tests/sccp/Makefile.am
@@ -5,6 +5,9 @@ EXTRA_DIST = sccp_test.ok
noinst_PROGRAMS = sccp_test
-sccp_test_SOURCES = sccp_test.c $(top_srcdir)/src/sccp.c
-sccp_test_LDADD = $(LIBOSMOCORE_LIBS)
+sccp_test_SOURCES = sccp_test.c
+sccp_test_LDADD = \
+ $(LIBOSMOCORE_LIBS) \
+ $(top_builddir)/src/sccp.o \
+ $(NULL)