2
0
Эх сурвалжийг харах

- 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 -

Jonas Maebe 18 жил өмнө
parent
commit
0a6256e44b

+ 2 - 0
compiler/systems/t_bsd.pas

@@ -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