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

* also pass -arch parameter when creating bundles

git-svn-id: trunk@8223 -
Jonas Maebe 18 жил өмнө
parent
commit
881f884f4c

+ 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