- disabled linking to SystemStubs for Mac OS X since it's only available

on Mac OS X 10.4 and higher

git-svn-id: trunk@7067 -
This commit is contained in:
Jonas Maebe 2007-04-07 16:39:44 +00:00
parent fef643654b
commit 0a6256e44b

View File

@ -329,11 +329,13 @@ begin
begin
{ for darwin: always link dynamically against libc }
linklibc := true;
{$ifdef MACOSX104ORHIGHER}
{ not sure what this is for, but gcc always links against it }
if not(cs_profile in current_settings.moduleswitches) then
AddSharedLibrary('SystemStubs')
else
AddSharedLibrary('SystemStubs_profile');
{$endif MACOSX104ORHIGHER}
reorder:=reorderentries;
if not(isdll) then
if not(cs_profile in current_settings.moduleswitches) then