summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-15 13:57:08 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-15 13:57:08 +0000
commitbaadb355da36ee1d02e3ea08f90d6b0f7fff5d04 (patch)
tree710e4e162e90d115730b191d91cf1c5be5b36763 /meta/packages
parent1d4c242726da3fa487ab809c9ce74314ea8a2edc (diff)
downloadopenembedded-core-baadb355da36ee1d02e3ea08f90d6b0f7fff5d04.tar.gz
openembedded-core-baadb355da36ee1d02e3ea08f90d6b0f7fff5d04.tar.bz2
openembedded-core-baadb355da36ee1d02e3ea08f90d6b0f7fff5d04.tar.xz
openembedded-core-baadb355da36ee1d02e3ea08f90d6b0f7fff5d04.zip
meta-toolchain: Fix symlink for darwin
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4478 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/meta/meta-toolchain.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index b3dabc6e1..4a59ecddc 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -105,8 +105,8 @@ do_populate_sdk() {
echo 'export TARGET_CFLAGS="-I${prefix}/${TARGET_SYS}${layout_includedir}"' >> $script
echo 'export TARGET_LDFLAGS="-L${prefix}/${TARGET_SYS}${layout_libdir}"' >> $script
# Workaround darwin toolchain sysroot path problems
- cd ${SDK_OUTPUT}/usr
- ln -s local /usr/local
+ cd ${SDK_OUTPUT}{prefix}/${TARGET_SYS}/usr
+ ln -s /usr/local local
fi
echo "alias opkg='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/opkg-sdk.conf -o ${prefix}'" >> $script
echo "alias opkg-target='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${prefix}/${TARGET_SYS}${layout_sysconfdir}/opkg.conf -o ${prefix}/${TARGET_SYS}'" >> $script