Some target builds depend on a 'json' library instead of json-c.
Signed-off-by: Markus Pargmann <[email protected]>
---
rules/json-c.make | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/rules/json-c.make b/rules/json-c.make
index a9a81652a1cd..a7ea8707f6ea 100644
--- a/rules/json-c.make
+++ b/rules/json-c.make
@@ -42,6 +42,17 @@ JSON_C_CONF_OPT := \
--disable-static
# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/json-c.install:
+ @$(call targetinfo)
+ @$(call world/install, JSON_C)
+ @ln -sv json-c.pc $(JSON_C_PKGDIR)/usr/lib/pkgconfig/json.pc
+ @ln -sv json-c.so $(JSON_C_PKGDIR)/usr/lib/json.so
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
--
2.1.1
--
ptxdist mailing list
[email protected]