Pārlūkot izejas kodu

* also pass -arch parameter when creating bundles

git-svn-id: trunk@8223 -
Jonas Maebe 18 gadi atpakaļ
vecāks
revīzija
881f884f4c
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      compiler/systems/t_bsd.pas

+ 2 - 1
compiler/systems/t_bsd.pas

@@ -375,7 +375,8 @@ begin
   { Open link.res file }
   LinkRes:=TLinkRes.Create(outputexedir+Info.ResName);
 
-  if (not isdll) then
+  if (not isdll) or
+     (apptype=app_bundle) then
     begin
       if (target_info.system in systems_darwin) then
         begin