* Forgot to create the "current" symlink (and add it to the archive - not yet tested). * Use -n for links to directories in case the target already exists.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38353 a95241bf-73f2-0310-859d-f6bbb57e9c96
Diff
build-gcc2-optional-package-Haiku.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -85,7 +85,7 @@
echo "Install C++ includes and library"
rm -rf $base/include/g++
ln -sf /boot/develop/headers/cpp $base/include/g++
ln -snf /boot/develop/headers/cpp $base/include/g++
ln -sf /system/lib/libstdc++.r4.so $base/lib/
@@ -103,6 +103,10 @@
cd /boot
rm -f $zip_name
zip -yr $zip_name $base
current_name=develop/abi/x86/gcc2/tools/current
ln -snf gcc-2.95.3-haiku-$GCCDATE $current_name
zip -yr $zip_name $current_name