浏览代码

Merged revisions 7067 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r7067 | jonas | 2007-04-07 18:39:44 +0200 (Sat, 07 Apr 2007) | 3 lines

- disabled linking to SystemStubs for Mac OS X since it's only available
on Mac OS X 10.4 and higher

........

git-svn-id: branches/fixes_2_2@7068 -

Jonas Maebe 18 年之前
父节点
当前提交
15b43626b5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/systems/t_bsd.pas

+ 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