From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 07/16] gpsd: export PKG_CONFIG with PKG_CONFIG_SYSROOT_DIR
Date: Mon, 30 Apr 2012 08:33:04 +0200 [thread overview]
Message-ID: <112193fcdfa67a581b5a218a2c766d507f972746.1335767139.git.Martin.Jansa@gmail.com> (raw)
In-Reply-To: <cover.1335767139.git.Martin.Jansa@gmail.com>
In-Reply-To: <cover.1335767139.git.Martin.Jansa@gmail.com>
* python-scons-native executes pkg-config with wrong environment and as result -I/usr/include/libusb-1.0 is returned
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
index 7502f9a..37fb79d 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
@@ -41,6 +41,7 @@ EXTRA_OESCONS = " \
do_compile_prepend() {
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
+ export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config"
export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}"
export BUILD_SYS="${BUILD_SYS}"
@@ -49,6 +50,7 @@ do_compile_prepend() {
do_install_prepend() {
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
+ export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config"
export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}"
export BUILD_SYS="${BUILD_SYS}"
--
1.7.8.6
next prev parent reply other threads:[~2012-04-30 6:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-30 6:32 [meta-oe][PATCH 00/16] gpsd upgrade Martin Jansa
2012-04-30 6:32 ` [meta-oe][PATCH 01/16] gpsd: update to 3.4 Martin Jansa
2012-04-30 6:32 ` [meta-oe][PATCH 02/16] gpsd: move files to gpsd dir as they are not version specific Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 03/16] gpsd-3.4: minor style issues Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 04/16] gpsd-3.4: drop pkgconfig='' Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 05/16] gpsd-3.4: fix DSO build correctly Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 06/16] gpsd: pass sysroot param to scons and fix SConstruct to respect that Martin Jansa
2012-04-30 6:33 ` Martin Jansa [this message]
2012-04-30 6:33 ` [meta-oe][PATCH 08/16] gpsd: use gpsd.service and gpsd.socket from source tree, drop local files Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 09/16] gpsd: replace whole do_install from scons.bbclass Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 10/16] gpsd: remove RPATH from binaries instead of replacing it with redundant /usr/lib Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 11/16] gpsd: add recipe for 3.5 with negative D_P for testing Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 12/16] gpsd: add git recipe with negative D_P for tests Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 13/16] gpsd-3.4: fix python paths and RPATHs Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 14/16] gpsd: " Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 15/16] gpsd: add chrpath-native to depends Martin Jansa
2012-04-30 6:33 ` [meta-oe][PATCH 16/16] gpsd: disable docs generation Martin Jansa
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=112193fcdfa67a581b5a218a2c766d507f972746.1335767139.git.Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/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