mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user