diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-04-24 15:13:40 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-04-29 23:29:33 +0200 |
commit | 112193fcdfa67a581b5a218a2c766d507f972746 (patch) | |
tree | a581ba91e60975455ed6908edd7a35541bd79ca8 /meta-oe/recipes-navigation/gpsd | |
parent | 1c4eff918d6268cf211e77b8b0a22603f9d6c4f3 (diff) | |
download | meta-openembedded-112193fcdfa67a581b5a218a2c766d507f972746.tar.gz |
gpsd: export PKG_CONFIG with PKG_CONFIG_SYSROOT_DIR
* 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>
Diffstat (limited to 'meta-oe/recipes-navigation/gpsd')
-rw-r--r-- | 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 7502f9aa0..37fb79d10 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 = " \ | |||
41 | 41 | ||
42 | do_compile_prepend() { | 42 | do_compile_prepend() { |
43 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" | 43 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" |
44 | export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" | ||
44 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" | 45 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" |
45 | 46 | ||
46 | export BUILD_SYS="${BUILD_SYS}" | 47 | export BUILD_SYS="${BUILD_SYS}" |
@@ -49,6 +50,7 @@ do_compile_prepend() { | |||
49 | 50 | ||
50 | do_install_prepend() { | 51 | do_install_prepend() { |
51 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" | 52 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" |
53 | export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" | ||
52 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" | 54 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" |
53 | 55 | ||
54 | export BUILD_SYS="${BUILD_SYS}" | 56 | export BUILD_SYS="${BUILD_SYS}" |