From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Markus Pargmann Date: Thu, 20 Nov 2014 09:23:26 +0100 Message-Id: <1416471810-15176-3-git-send-email-mpa@pengutronix.de> In-Reply-To: <1416471810-15176-1-git-send-email-mpa@pengutronix.de> References: <1416471810-15176-1-git-send-email-mpa@pengutronix.de> Subject: [ptxdist] [PATCH 3/7] json-c: Install missing pkgconfig link Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Markus Pargmann Some target builds depend on a 'json' library instead of json-c. Signed-off-by: Markus Pargmann --- 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 ptxdist@pengutronix.de