Explorar o código

* also pass -arch parameter when creating bundles

git-svn-id: trunk@8223 -
Jonas Maebe %!s(int64=18) %!d(string=hai) anos
pai
achega
881f884f4c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      compiler/systems/t_bsd.pas

+ 2 - 1
compiler/systems/t_bsd.pas

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