[PATCH] libsmpp34[master]: binaries/Makefile.am: Fix parallel build issue

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

roox gerrit-no-reply at lists.osmocom.org
Sun Feb 11 09:27:33 UTC 2018


Review at  https://gerrit.osmocom.org/6369

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
---
M binaries/Makefile.am
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libsmpp34 refs/changes/69/6369/1

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

-- 
To view, visit https://gerrit.osmocom.org/6369
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a9d7dbd7b992d322ed0d852ebf8ca2252b51a12
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: roox <mardnh at gmx.de>



More information about the gerrit-log mailing list