* applied Matt's patch (somewhat changed) that corrects the links for gcc4's
  libstdc++.so and libsupc++.so in case of a gcc2 hybrid (they must point
  to /system/lib/gcc4/... instead of /system/lib/...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35746 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2010-03-03 21:44:12 +00:00
parent 5cf6995685
commit eb9907fc9e
1 changed files with 8 additions and 0 deletions

View File

@ -400,6 +400,14 @@ if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ]
# symlink cpp to g++'s headers
AddSymlinkToHaikuImage develop abi x86 gcc4 headers
: ../tools/current/include/g++ : cpp ;
# symlink to the appropriate system/lib[/gcc4] folder
local libs = libstdc++.so libsupc++.so ;
for lib in $(libs) {
AddSymlinkToHaikuHybridImage
develop abi x86 gcc4 tools gcc-4.3.3-haiku-090629 lib
: /system/lib $(lib) : : true ;
}
}
# other commonly used tools