From 851e6dca97b76dbb5f37eaea0364019f8fbea4f1 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 30 Oct 2007 17:17:50 +0000 Subject: [PATCH] Some of Darwin's C++ runtime seems to live in libstdc++.so, so I moved it to HOST_LIBSUBC++. Now it should be possible to remove HOST_LIBSTDC++ from the library list for build tools which don't use the STL -- it had been added due to the Darwin peculiarity in the first place. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22773 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index e7d1249f88..ff81baf88d 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -526,7 +526,9 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) { } if $(HOST_PLATFORM) = darwin { - HOST_LIBSUPC++ = gcc_s.1 ; + # part of the C++ runtime lives in libstdc++ on Darwin + HOST_LIBSUPC++ = gcc_s.1 stdc++ ; + HOST_LIBSTDC++ = ; } # Unlike glibc FreeBSD's libc doesn't have built-in regex support.