From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Antoine Coutant via buildroot <buildroot@buildroot.org>
Cc: Antoine Coutant <antoine.coutant@smile.fr>, romain.naour@smile.fr
Subject: Re: [Buildroot] [PATCH 1/1] package/environment-setup: export pkgconf's evironment variables
Date: Sat, 14 Sep 2024 09:49:15 +0200 [thread overview]
Message-ID: <20240914094915.6ea47b74@windsurf> (raw)
In-Reply-To: <20240913115319.169625-1-antoine.coutant@smile.fr>
Hello,
On Fri, 13 Sep 2024 13:53:19 +0200
Antoine Coutant via buildroot <buildroot@buildroot.org> wrote:
> pkgconf can not find libraries outside of the default sysroot without
> PKG_CONFIG_PATH and PKG_CONFIG_PATH properly set.
>
> Make environment-setup export those variables so that pkgconf can
> look for libraries in the buildroot sysroot.
>
> Signed-off-by: Antoine Coutant <antoine.coutant@smile.fr>
> ---
> The issue can be reproduced by searching for libraries using buildroot's
> pkgconf after sourcing environment-setup.
>
> I found the issue when compiling using meson. The meson "dependency"
> keyword uses pkgconf to find libraries, which uses pkgconf
> (and other programs) [1].
>
> [1]: https://mesonbuild.com/Dependencies.html
>
> Signed-off-by: Antoine Coutant <antoine.coutant@smile.fr>
This patch shouldn't be needed I believe. We install
HOST_DIR/bin/pkg-config which properly defines those variables. Why are
you using HOST_DIR/bin/pkgconf directly and not HOST_DIR/bin/pkg-config
?
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-09-14 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-13 11:53 [Buildroot] [PATCH 1/1] package/environment-setup: export pkgconf's evironment variables Antoine Coutant via buildroot
2024-09-14 7:49 ` Thomas Petazzoni via buildroot [this message]
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=20240914094915.6ea47b74@windsurf \
--to=buildroot@buildroot.org \
--cc=antoine.coutant@smile.fr \
--cc=romain.naour@smile.fr \
--cc=thomas.petazzoni@bootlin.com \
/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