From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package lcdproc: override libpng-config path
Date: Sun, 11 Jun 2017 15:13:17 +0200 [thread overview]
Message-ID: <20170611131317.16345-2-romain.naour@gmail.com> (raw)
In-Reply-To: <20170611131317.16345-1-romain.naour@gmail.com>
Like for freetype-config, override libpng-config path otherwise
the one from the host system may be used when installed.
Make sure that the one from HOST_DIR is used.
configure:7480: checking for libpng-config
configure:7498: found /usr/bin/libpng-config
configure:7510: result: /usr/bin/libpng-config
configure:7529: checking whether libpng is present and sane
[...]
nios2-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/libpng12'
Fixes
http://autobuild.buildroot.net/results/b68/b68f54404a7d412d639ebb6d052412eea6ee3bf1/lcdproc-0.5.7/config.log
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/lcdproc/lcdproc.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk
index 5196368..e602088 100644
--- a/package/lcdproc/lcdproc.mk
+++ b/package/lcdproc/lcdproc.mk
@@ -22,6 +22,7 @@ LCDPROC_CONF_ENV += ac_cv_path_FT2_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
ifeq ($(BR2_PACKAGE_LIBPNG),y)
LCDPROC_DEPENDENCIES += libpng
+LCDPROC_CONF_ENV += ac_cv_path__png_config=$(STAGING_DIR)/usr/bin/libpng-config
LCDPROC_CONF_OPTS += --enable-libpng
else
LCDPROC_CONF_OPTS += --disable-libpng
--
2.9.4
next prev parent reply other threads:[~2017-06-11 13:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-11 13:13 [Buildroot] [PATCH 1/2] package/lcdproc: override freetype-config path Romain Naour
2017-06-11 13:13 ` Romain Naour [this message]
2017-06-11 13:23 ` [Buildroot] [PATCH 2/2] package lcdproc: override libpng-config path Thomas Petazzoni
2017-06-11 13:35 ` Romain Naour
2017-06-11 15:52 ` Thomas Petazzoni
2017-06-11 15:49 ` [Buildroot] [PATCH 1/2] package/lcdproc: override freetype-config path Thomas Petazzoni
2017-06-11 20:48 ` Romain Naour
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=20170611131317.16345-2-romain.naour@gmail.com \
--to=romain.naour@gmail.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