diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-27 00:04:20 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-29 15:56:20 +0200 |
commit | b63e56177f1601819f14732bdb307ab9b4be9084 (patch) | |
tree | 6fa8cf4cfa509345b27f830eca544b56137bbbb1 | |
parent | 9337472153b2346acf0d005a10561b9f3c703efe (diff) |
build: parallel build: require ../libosmo-ranap.la from tests/
This rule is bad because it re-invokes $(MAKE), but it seems to fix the
parallel build. It should probably be done differently.
Change-Id: I8107e08e4c211f20d671f520bf6bab9356f3c90e
-rw-r--r-- | src/tests/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am index 3a99681..5b51262 100644 --- a/src/tests/Makefile.am +++ b/src/tests/Makefile.am @@ -27,6 +27,9 @@ test_ranap_LDADD = $(COMMON_LIBS) $(top_builddir)/src/libosmo-ranap.la dummy_cn_SOURCES = $(RANAP_FILES) test_common.c dummy_cn_sua.c dummy_cn_LDADD = $(COMMON_LIBS) $(top_builddir)/src/libosmo-ranap.la +$(top_builddir)/src/libosmo-ranap.la: + $(MAKE) -C $(top_builddir)/src libosmo-ranap.la + # The `:;' works around a Bash 3.2 bug when the output is not writeable. $(srcdir)/package.m4: $(top_srcdir)/configure.ac :;{ \ |