diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-27 00:04:20 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-27 14:19:14 +0200 |
commit | 4c0a50251872d128a00a371fb163628e375ab571 (patch) | |
tree | b68a25f635d6d5ea05f1000a10c9e624fbe2da00 | |
parent | 7450953a04bc89efd926db968c9db4446b27ed5b (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 :;{ \ |