summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2008-07-31 13:44:57 +0000
committerbjarni <bjarni@openttd.org>2008-07-31 13:44:57 +0000
commitb52ce85021d1d935203e9d0173603783dca04cf5 (patch)
treeffbed421746aaece16f7af1f5c040cda67526cf6 /config.lib
parent60cd53c375b64ef36942f8e96cbeb1b5bfa3acf4 (diff)
downloadopenttd-b52ce85021d1d935203e9d0173603783dca04cf5.tar.xz
(svn r13892) -Fix (r13863): [configure] now the SDK selection for OSX sets the default value as intended
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index bfb30e156..31cba14cf 100644
--- a/config.lib
+++ b/config.lib
@@ -1504,12 +1504,14 @@ check_lipo() {
}
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
osx_target_version=10.4
fi
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
else
osx_sysroot_version="$osx_target_version"