From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/sdl2_net: add missing host-pkgconf dependency
Date: Thu, 13 Dec 2018 21:17:26 +0100 [thread overview]
Message-ID: <20181213211726.7afffc30@windsurf> (raw)
In-Reply-To: <20181212085212.12149-1-thomas.petazzoni@bootlin.com>
Hello,
On Wed, 12 Dec 2018 09:52:12 +0100, Thomas Petazzoni wrote:
> The sdl2_net configure script uses pkg-config to finx sdl2. If it
> doesn't find pkg-config, it tries to locate sdl2-config, and defaults
> to /usr/bin/sdl2-config, which causes the build to fail with:
>
> arm-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/SDL2'
>
> Fix this by adding host-pkgconf to the dependencies of sdl2_net. We
> could have added the right autoconf cache variable to tell the
> configure script where sdl2-config is located, but since pkg-config is
> tried first, let's use that.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
> package/sdl2_net/sdl2_net.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-12-13 20:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-12 8:52 [Buildroot] [PATCH] package/sdl2_net: add missing host-pkgconf dependency Thomas Petazzoni
2018-12-13 20:17 ` Thomas Petazzoni [this message]
2018-12-16 21:16 ` Peter Korsgaard
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=20181213211726.7afffc30@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