mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r13892) -Fix (r13863): [configure] now the SDK selection for OSX sets the default value as intended
This commit is contained in:
parent
5e2c2db235
commit
53fc140db4
@ -1504,12 +1504,14 @@ check_lipo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_universal_binary_flags() {
|
set_universal_binary_flags() {
|
||||||
if [ -n "$osx_target_version" ]; then
|
if [ -z "$osx_target_version" ]; then
|
||||||
# if we don't speficy a target version then we presume 10.4
|
# if we don't speficy a target version then we presume 10.4
|
||||||
osx_target_version=10.4
|
osx_target_version=10.4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$osx_target_version" = "10.4" ]; then
|
if [ "$osx_target_version" = "10.4" ]; then
|
||||||
|
# Apple added u to 10.4 to show that it's universal
|
||||||
|
# There is a version without the u, but it's only in Xcode 2.0 and people should use the free update to 2.5
|
||||||
osx_sysroot_version=10.4u
|
osx_sysroot_version=10.4u
|
||||||
else
|
else
|
||||||
osx_sysroot_version="$osx_target_version"
|
osx_sysroot_version="$osx_target_version"
|
||||||
|
Loading…
Reference in New Issue
Block a user