changeset 4148:3e7f2edce658 SDL-1.2

Tweaked fatbuild.sh so it works with install_name_tool.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 25 Jul 2008 10:52:10 +0000
parents 6bdec986f2f6
children 2325dd996f73
files build-scripts/fatbuild.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/build-scripts/fatbuild.sh	Sat Jul 19 11:54:55 2008 +0000
+++ b/build-scripts/fatbuild.sh	Fri Jul 25 10:52:10 2008 +0000
@@ -35,7 +35,7 @@
 -isystem $SDK_PATH/MacOSX10.2.8.sdk/usr/include"
 
     # PowerPC linker flags 
-    LFLAGS_PPC="-arch ppc \
+    LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc \
 -L$SDK_PATH/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \
 -F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \
 -Wl,-syslibroot,$SDK_PATH/MacOSX10.2.8.sdk"
@@ -58,7 +58,7 @@
 -isystem $SDK_PATH/MacOSX10.3.9.sdk/usr/include"
 
     # PowerPC linker flags
-    LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.3 \
+    LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc -mmacosx-version-min=10.3 \
 -L$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 \
 -F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \
 -Wl,-syslibroot,$SDK_PATH/MacOSX10.3.9.sdk"
@@ -81,7 +81,7 @@
 -isystem $SDK_PATH/MacOSX10.4u.sdk/usr/include"
 
 # Intel linker flags
-LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
+LFLAGS_X86="-Wl,-headerpad_max_install_names -arch i386 -mmacosx-version-min=10.4 \
 -L$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1 \
 -Wl,-syslibroot,$SDK_PATH/MacOSX10.4u.sdk"