summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-12-09 12:15:52 +0000
committerbjarni <bjarni@openttd.org>2005-12-09 12:15:52 +0000
commit111e5ef0fdb06518c9cea7705653526c403c21c0 (patch)
tree324b2ec489c537c885f5f3b3634b1ee8d265c47a /Makefile
parent578883266f1c7c1d5825b99e8474694b3423bafe (diff)
downloadopenttd-111e5ef0fdb06518c9cea7705653526c403c21c0.tar.xz
(svn r3274) -Fix: [OSX] added JAGUAR flag to crosscompile for OSX 10.2 (codenamed jaguar)
JAGUAR and FAT_BINARY can't be used at the same time JAGUAR will disable network support due to missing libs in 10.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e5e02d4a5..22496d41a 100644
--- a/Makefile
+++ b/Makefile
@@ -107,6 +107,7 @@
# Special for crosscompiling there are some commands available:
#
# FAT_BINARY: builds a universal binary for OSX. Make sure you got both PPC and x86 libs
+# JAGUAR: Make the binary suited for MacOS X 10.2 (codenamed jaguar). It will not include network support
#
# ENDIAN_FORCE: forces the endian-check to give a certain result. Can be BE, LE or PREPROCESSOR.
# PREPROCESSOR is always used on all OSX targets and will make the preprocessor pick the right endian.
@@ -514,6 +515,10 @@ ifdef OSX
LDFLAGS += -headerpad_max_install_names
endif
endif
+ ifdef JAGUAR
+ # ensure that changing libpathnames will not overwrite anything in the binary
+ LDFLAGS += -headerpad_max_install_names
+ endif
ifndef DEDICATED
LIBS += -framework QuickTime