From: Graham Billiau Date: Thu, 13 Jul 2017 15:29:43 +0000 (-0400) Subject: LP#1704116: fix intermittant failure of parallel building X-Git-Tag: osrf_rel_3_0_0-alpha~21 X-Git-Url: http://git.equinoxoli.org/?p=opensrf-equinox.git;a=commitdiff_plain;h=740e725fbb02d7d3476d39efbed0b382f13b880d LP#1704116: fix intermittant failure of parallel building Running make to do a parallel build (e.g., 'make -j 4' or the like) could fail because of an undeclared dependency; this patch fixes the issue. The issue can be reproduced by repeating "make clean; make -j 4" until the build fails. Signed-off-by: Graham Billiau Signed-off-by: Galen Charlton --- diff --git a/src/libopensrf/Makefile.am b/src/libopensrf/Makefile.am index ec5f26f..fd3729b 100644 --- a/src/libopensrf/Makefile.am +++ b/src/libopensrf/Makefile.am @@ -100,6 +100,7 @@ opensrf_c_SOURCES = opensrf.c opensrf_c_DEPENDENCIES = libopensrf.la osrf_json_test_SOURCES = osrf_json_test.c $(JSON_TARGS) $(JSON_DEP) $(JSON_TARGS_HEADS) $(JSON_DEP_HEADS) +osrf_json_test_DEPENDENCIES = libopensrf.la noinst_LTLIBRARIES = libosrf_json.la lib_LTLIBRARIES = libopensrf.la