mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Pargmann <mpa@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Pargmann <mpa@pengutronix.de>
Subject: [ptxdist] [PATCH v2 1/4] json-c: Install missing pkgconfig link
Date: Wed, 26 Nov 2014 08:22:01 +0100	[thread overview]
Message-ID: <1416986524-4810-1-git-send-email-mpa@pengutronix.de> (raw)

Some target builds depend on a 'json' library instead of json-c.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/json-c.make | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/rules/json-c.make b/rules/json-c.make
index a9a81652a1cd..1ad07c6eacef 100644
--- a/rules/json-c.make
+++ b/rules/json-c.make
@@ -42,6 +42,16 @@ 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
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
 # Target-Install
 # ----------------------------------------------------------------------------
 
-- 
2.1.3


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2014-11-26  7:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-26  7:22 Markus Pargmann [this message]
2014-11-26  7:22 ` [ptxdist] [PATCH v2 2/4] libexif: Initial, version 0.6.21 Markus Pargmann
2014-11-26  7:22 ` [ptxdist] [PATCH v2 3/4] host-ninja: Ninja build tool Markus Pargmann
2014-11-26  7:22 ` [ptxdist] [PATCH v2 4/4] gtk2: Reintegrate gtk2 Markus Pargmann
2014-11-26 15:26 ` [ptxdist] [PATCH v2 1/4] json-c: Install missing pkgconfig link Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1416986524-4810-1-git-send-email-mpa@pengutronix.de \
    --to=mpa@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox