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
This commit is contained in:
Martin Hauke 2018-02-11 10:25:56 +01:00
parent 4db6fabf66
commit f824d86718
1 changed files with 1 additions and 1 deletions

View File

@ -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)