From 24da7318452c94d57e24407df98a9787fda3abf9 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 18 Nov 2013 16:50:59 +0000 Subject: [PATCH] build: link libjson.la against libjson-c.la By using libtool linkage the dependencies are automatically created, so parallel builds just work. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d68f5aa..590d3c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,10 +39,10 @@ libjson_cinclude_HEADERS = \ libjson_c_la_LDFLAGS = -version-info 2:0:0 -no-undefined if ENABLE_OLDNAME_COMPAT -libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined -ljson-c +libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined # Temporary libjson library. This will be removed after one release. -libjson_la_LIBADD = -ljson-c +libjson_la_LIBADD = libjson-c.la endif