Browse Source

* also pass -arch parameter when creating bundles

git-svn-id: trunk@8223 -
Jonas Maebe 18 years ago
parent
commit
881f884f4c
1 changed files with 2 additions and 1 deletions
  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