From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/pugixml: enable install of pugixml.pc
Date: Mon, 1 Apr 2019 22:42:34 +0200 [thread overview]
Message-ID: <20190401224234.0cd18d48@windsurf> (raw)
In-Reply-To: <20190401162158.29819-2-bernd.kuhls@t-online.de>
Hello Bernd,
On Mon, 1 Apr 2019 18:21:57 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Needed for waylandpp >= 0.2.4 to detect pugixml:
> https://github.com/NilsBrause/waylandpp/commit/0a61175003a0a34038e39092918768360d2dd1da#diff-af3b638bc2a3e6c650974192a53c7291R39
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/pugixml/pugixml.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/pugixml/pugixml.mk b/package/pugixml/pugixml.mk
> index 6f214c4de8..3c80622b11 100644
> --- a/package/pugixml/pugixml.mk
> +++ b/package/pugixml/pugixml.mk
> @@ -30,5 +30,8 @@ ifdef PUGIXML_BUILD_DEFINES
> PUGIXML_CONF_OPTS += -DBUILD_DEFINES="$(subst $(space),;,$(PUGIXML_BUILD_DEFINES))"
> endif
>
> +PUGIXML_CONF_OPTS += -DBUILD_PKGCONFIG=ON
> +HOST_PUGIXML_CONF_OPTS += $(PUGIXML_CONF_OPTS)
This is not good: we don't want to have the host version of pugixml
have its configuration affected by the options that change the
configuration of the target pugixml variant.
In addition, for the host variant, this is doing much more than
enabling the installation of pugixml.pc, since all other
PUGIXML_CONF_OPTS (especially -DBUILD_DEFINES) will be passed to the
host variant.
Could you address this issue and send a v2 ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-04-01 20:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 16:21 [Buildroot] [PATCH 1/3] package/pugixml: Enable host build Bernd Kuhls
2019-04-01 16:21 ` [Buildroot] [PATCH 2/3] package/pugixml: enable install of pugixml.pc Bernd Kuhls
2019-04-01 20:42 ` Thomas Petazzoni [this message]
2019-04-01 16:21 ` [Buildroot] [PATCH 3/3] package/waylandpp: bump version to 0.2.5 Bernd Kuhls
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=20190401224234.0cd18d48@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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