Просмотр исходного кода

* also pass -arch parameter when creating bundles

git-svn-id: trunk@8223 -
Jonas Maebe 18 лет назад
Родитель
Сommit
881f884f4c
1 измененных файлов с 2 добавлено и 1 удалено
  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