Tweaked fatbuild.sh so it works with install_name_tool. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 25 Jul 2008 10:52:10 +0000
branchSDL-1.2
changeset 41483e7f2edce658
parent 4147 6bdec986f2f6
child 4149 2325dd996f73
Tweaked fatbuild.sh so it works with install_name_tool.
build-scripts/fatbuild.sh
     1.1 --- a/build-scripts/fatbuild.sh	Sat Jul 19 11:54:55 2008 +0000
     1.2 +++ b/build-scripts/fatbuild.sh	Fri Jul 25 10:52:10 2008 +0000
     1.3 @@ -35,7 +35,7 @@
     1.4  -isystem $SDK_PATH/MacOSX10.2.8.sdk/usr/include"
     1.5  
     1.6      # PowerPC linker flags 
     1.7 -    LFLAGS_PPC="-arch ppc \
     1.8 +    LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc \
     1.9  -L$SDK_PATH/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \
    1.10  -F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \
    1.11  -Wl,-syslibroot,$SDK_PATH/MacOSX10.2.8.sdk"
    1.12 @@ -58,7 +58,7 @@
    1.13  -isystem $SDK_PATH/MacOSX10.3.9.sdk/usr/include"
    1.14  
    1.15      # PowerPC linker flags
    1.16 -    LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.3 \
    1.17 +    LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc -mmacosx-version-min=10.3 \
    1.18  -L$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 \
    1.19  -F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \
    1.20  -Wl,-syslibroot,$SDK_PATH/MacOSX10.3.9.sdk"
    1.21 @@ -81,7 +81,7 @@
    1.22  -isystem $SDK_PATH/MacOSX10.4u.sdk/usr/include"
    1.23  
    1.24  # Intel linker flags
    1.25 -LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
    1.26 +LFLAGS_X86="-Wl,-headerpad_max_install_names -arch i386 -mmacosx-version-min=10.4 \
    1.27  -L$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1 \
    1.28  -Wl,-syslibroot,$SDK_PATH/MacOSX10.4u.sdk"
    1.29