From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/gobject-introspection: fix host version of .pc file for wrapper
Date: Sun, 3 May 2020 21:45:45 +0200 [thread overview]
Message-ID: <20200503214545.71eaf817@windsurf.home> (raw)
In-Reply-To: <7340e836-134f-a02f-9b3a-528c322517d8@green-communications.fr>
Hello,
On Sun, 3 May 2020 19:10:36 +0200
Nicolas Cavallari <nicolas.cavallari@green-communications.fr> wrote:
> > Since Meson goes through $(HOST_DIR)/bin/pkgconf directly, we do not
> > pass any specific sysroot argument to pkg-config. It is up to Meson to
> > pass the appropriate sysroot value when working with target code, and
> > to not pass any sysroot value when working on native code.
>
> Look at the logs i posted in this thread. meson uses the 'pkgconfig' in
> the cross-file only when finding target libraries. It does not use it
> when finding native libraries.
>
> Instead, for native libraries, it expects a native-file, which we don't
> provide. As a fallback, it searches for $PKG_CONFIG_FOR_BUILD,
> $PKG_CONFIG, or for a 'pkg-config' in $PATH. And we have a pkg-config in
> $PATH, it is the target pkgconf wrapper.
>
> The fix in 4e0bc29993376613d200e892d491e31ea5a49622 does not work.
> Meson still uses the pkg-config wrapper when working with native code.
Indeed, all what you explain here seems to contradict exactly what
4e0bc29993376613d200e892d491e31ea5a49622 claims. Arnout, do you have
the time to discuss this with us ?
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2020-05-03 19:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-02 6:04 [Buildroot] [PATCH 1/1] package/gobject-introspection: fix host version of .pc file for wrapper James Hilliard
2020-05-02 12:32 ` Thomas Petazzoni
2020-05-02 19:36 ` James Hilliard
2020-05-03 6:14 ` James Hilliard
2020-05-03 11:48 ` Thomas Petazzoni
2020-05-03 11:56 ` James Hilliard
2020-05-03 17:10 ` Nicolas Cavallari
2020-05-03 19:45 ` Thomas Petazzoni [this message]
2020-05-03 22:53 ` James Hilliard
2020-05-03 8:36 ` Nicolas Cavallari
2020-05-03 8:56 ` James Hilliard
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=20200503214545.71eaf817@windsurf.home \
--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