summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-09-19 21:54:58 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-09-22 09:52:41 -0700
commitb80483094f3b08d86cf753d75a5ca6e79d103bff (patch)
tree58339ddb4976dd45ffab96fffb401077901e39ff
parentc9e52b05d58491047383adf4d5c76db9ad8e63f3 (diff)
downloadopenembedded-core-b80483094f3b08d86cf753d75a5ca6e79d103bff.tar.gz
openembedded-core-b80483094f3b08d86cf753d75a5ca6e79d103bff.tar.bz2
openembedded-core-b80483094f3b08d86cf753d75a5ca6e79d103bff.tar.xz
openembedded-core-b80483094f3b08d86cf753d75a5ca6e79d103bff.zip
meta-ide-support: Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH
Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH to make them point to the correct directory path. This fixes [BUGID #340]. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-rw-r--r--meta/classes/toolchain-scripts.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 75e65f2db..c393d9964 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -38,8 +38,8 @@ toolchain_create_tree_env_script () {
rm -f $script
touch $script
echo 'export PATH=${PATH}' >> $script
- echo 'export PKG_CONFIG_SYSROOT_DIR=${STAGING_DIR}/${TARGET_SYS}' >> $script
- echo 'export PKG_CONFIG_PATH=${STAGING_DIR}/${TARGET_SYS}${libdir}/pkgconfig' >> $script
+ echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' >> $script
+ echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' >> $script
echo 'export CONFIG_SITE="${@siteinfo_get_files(d)}"' >> $script