From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling
Date: Sun, 24 Jul 2016 15:04:47 +0200 [thread overview]
Message-ID: <20160724150447.57fd9303@free-electrons.com> (raw)
In-Reply-To: <1469269182-16000-1-git-send-email-romain.naour@gmail.com>
Hello,
On Sat, 23 Jul 2016 12:19:42 +0200, Romain Naour wrote:
> +# x-includes and x-libraries must be set for cross-compiling
> +# By default x_includes and x_libraries contains unsafe paths.
> +# (/usr/include and /usr/lib)
> +ifeq ($(BR2_PACKAGE_SDL2_X11),y)
> +SDL2_TTF_CONF_OPTS += --with-x=$(STAGING_DIR) \
I *think* --with-x doesn't look at its argument, so I've changed this
to just --with-x.
> + --x-includes=$(STAGING_DIR)/usr/include \
> + --x-libraries=$(STAGING_DIR)/usr/lib
> +else
> +SDL2_TTF_CONF_OPTS += --with-x=no
And I've changed this to --without-x.
Applied with those changes. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-07-24 13:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-23 10:19 [Buildroot] [PATCH] package/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling Romain Naour
2016-07-24 13:04 ` Thomas Petazzoni [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=20160724150447.57fd9303@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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