mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 11:49:28 +02:00
iphonesim: use ios_simulator_version_min
The linker expects ios_simulator_version_min rather than -iphoneos_version_min when targeting the iOS simulator platform. Fixes compilation with Xcode 11 toolchains, which is more strict about this.
This commit is contained in:
parent
334cf9c19d
commit
3263e12a3e
@ -352,7 +352,10 @@ implementation
|
||||
end
|
||||
else if iPhoneOSVersionMin<>'' then
|
||||
begin
|
||||
result:='-iphoneos_version_min '+iPhoneOSVersionMin;
|
||||
if target_info.system in [system_i386_iphonesim,system_x86_64_iphonesim] then
|
||||
result:='-ios_simulator_version_min '+iPhoneOSVersionMin
|
||||
else
|
||||
result:='-iphoneos_version_min '+iPhoneOSVersionMin;
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user