From 7cc8c03088f733ff2a98be0bc31bc1e60a4d6cb5 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Thu, 7 Nov 2019 00:55:34 +0700 Subject: 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 --- tests/sccp/Makefile.am | 7 +++++-- 1 file 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) -- cgit v1.2.3