From 44a02ea25754b93b7bc23de8b7f842673a22689b Mon Sep 17 00:00:00 2001 From: Ben Allan Date: Thu, 17 Oct 2019 14:46:18 -0600 Subject: [PATCH] fix missing dependency -l$libname in _LDADD hides the dependency from make, so make -j fails. Use the .la form of the file name in _LDADD rules. --- lib/src/json/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/json/Makefile.am b/lib/src/json/Makefile.am index a9eb3b5d8..eff04dc2e 100644 --- a/lib/src/json/Makefile.am +++ b/lib/src/json/Makefile.am @@ -30,7 +30,7 @@ lib_LTLIBRARIES += libjson_util.la json_test_SOURCES = json_test.c json_util.h json_test_CFLAGS = $(AM_CFLAGS) -g -O0 -json_test_LDADD = -ljson_util +json_test_LDADD = libjson_util.la json_test_LDFLAGS = $(AM_LDFLAGS) sbin_PROGRAMS = json_test