From 111e5ef0fdb06518c9cea7705653526c403c21c0 Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 9 Dec 2005 12:15:52 +0000 Subject: (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 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2