From f824d867182701acd2febdfe2bf05f3049f7e577 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Sun, 11 Feb 2018 10:25:56 +0100 Subject: [PATCH] binaries/Makefile.am: Fix parallel build issue This change fixes a parallel building problem, when submit_multi_resp_test was being compiled before its libsmpp34 dependency: make[2]: *** No rule to make target '../binaries/libsmpp34.la', needed by 'submit_multi_resp_test'. Stop. make[2]: *** Waiting for unfinished jobs.... For some reason, automake ignores a dependency if the full path is provided: $(top_builddir)/binaries/libsmpp34.la while the relative path solves the problem: libsmpp34.la Change-Id: I5a9d7dbd7b992d322ed0d852ebf8ca2252b51a12 --- binaries/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaries/Makefile.am b/binaries/Makefile.am index ff7ddae..9fd565e 100644 --- a/binaries/Makefile.am +++ b/binaries/Makefile.am @@ -9,7 +9,7 @@ include $(top_srcdir)/test_pdu/Makefile.am include $(top_srcdir)/test_apps/Makefile.am include $(top_srcdir)/src/Makefile.am -LDADD = $(top_builddir)/binaries/libsmpp34.la +LDADD = libsmpp34.la AM_CPPFLAGS = -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS AM_CFLAGS = @CFLAGS@ -Wall -fPIC # -static INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)