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_2_5_2~17 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=22b5bf2b7606787dedac82c4eaae59b9bf2c7746;p=OpenSRF.git 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