From b80483094f3b08d86cf753d75a5ca6e79d103bff Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Sun, 19 Sep 2010 21:54:58 +0800 Subject: 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 --- meta/classes/toolchain-scripts.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes/toolchain-scripts.bbclass') 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 -- cgit v1.2.3