Autor Beitrag
hydemarie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 475
Erhaltene Danke: 51



BeitragVerfasst: So 14.01.24 01:28 
Problem:
Nach einem Xcode-Update (macOS Sonoma) kann FPC nicht mehr linken.

Lösung:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
diff --git a/compiler/systems/t_darwin.pas b/compiler/systems/t_darwin.pas
index fe6b8cb81b..520b0a6c60 100644
--- a/compiler/systems/t_darwin.pas
+++ b/compiler/systems/t_darwin.pas
@@ -360,7 +360,7 @@ tlinkerdarwin=class(texternallinker)
  end;
  if MacOSXVersionMin<>'' then
  begin
- LinkRes.Add('-macosx_version_min');
+ LinkRes.Add('-macos_version_min');
  LinkRes.Add(MacOSXVersionMin);
  end
  else if iPhoneOSVersionMin<>'' then