Skip to content

Commit

Permalink
fix missing dependency
Browse files Browse the repository at this point in the history
-l$libname in _LDADD hides the dependency from make, so make -j fails.
Use the .la form of the file name in _LDADD rules.
  • Loading branch information
baallan authored and opengridcomputing committed Oct 17, 2019
1 parent 0bba0b5 commit 44a02ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/json/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44a02ea

Please sign in to comment.