summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-07 16:54:15 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-07 16:54:15 +0000
commitb4927ba52625c9fdc734540cd7f4d9d9a6138212 (patch)
tree389d6151085c7a4318acfd36d1043288bc22438f /meta/packages
parentcdc99103dfbc5525682cb4a7d0345e1a33ad2204 (diff)
downloadopenembedded-core-b4927ba52625c9fdc734540cd7f4d9d9a6138212.tar.gz
openembedded-core-b4927ba52625c9fdc734540cd7f4d9d9a6138212.tar.bz2
openembedded-core-b4927ba52625c9fdc734540cd7f4d9d9a6138212.tar.xz
openembedded-core-b4927ba52625c9fdc734540cd7f4d9d9a6138212.zip
meta-toolchain: Use layout_libdir in PKG_CONFIG_PATH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4185 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/meta/meta-toolchain.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index be365349e..ab2e26099 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -89,7 +89,7 @@ do_populate_sdk() {
touch $script
echo 'export PATH=${prefix}/bin:$PATH' >> $script
echo 'export PKG_CONFIG_SYSROOT_DIR=${prefix}/${TARGET_SYS}' >> $script
- echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/usr/lib/pkgconfig' >> $script
+ echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/${layout_libdir}/pkgconfig' >> $script
echo 'export CONFIG_SITE=${prefix}/site-config' >> $script
echo "alias opkg='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/ipkg-sdk.conf -o ${prefix}'" >> $script
echo "alias opkg-target='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/ipkg.conf -o ${prefix}/${TARGET_SYS}'" >> $script