Merged r3808:3809 from branches/SDL-1.2: install_name_tool fix for fatbuild.sh.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 06 Jan 2010 06:44:23 +0000
changeset 360972a1c4dda07c
parent 3608 a5a37f850d83
child 3610 3c1b39d0d1a6
Merged r3808:3809 from branches/SDL-1.2: install_name_tool fix for fatbuild.sh.
build-scripts/fatbuild.sh
     1.1 --- a/build-scripts/fatbuild.sh	Wed Jan 06 06:40:16 2010 +0000
     1.2 +++ b/build-scripts/fatbuild.sh	Wed Jan 06 06:44:23 2010 +0000
     1.3 @@ -27,7 +27,7 @@
     1.4  -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include"
     1.5  
     1.6  # PowerPC 32-bit linker flags
     1.7 -LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.4 \
     1.8 +LFLAGS_PPC="-arch ppc -Wl,-headerpad_max_install_names -mmacosx-version-min=10.4 \
     1.9  -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \
    1.10  -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin10/4.0.1 \
    1.11  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
    1.12 @@ -48,7 +48,7 @@
    1.13  -isystem /Developer/SDKs/MacOSX10.5.sdk/usr/include"
    1.14  
    1.15  # PowerPC 64-bit linker flags
    1.16 -LFLAGS_PPC64="-arch ppc64 -mmacosx-version-min=10.5 \
    1.17 +LFLAGS_PPC64="-arch ppc64 -Wl,-headerpad_max_install_names -mmacosx-version-min=10.5 \
    1.18  -F/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks \
    1.19  -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/powerpc-apple-darwin10/4.0.1/ppc64 \
    1.20  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk"
    1.21 @@ -74,7 +74,7 @@
    1.22  -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include"
    1.23  
    1.24  # Intel 32-bit linker flags
    1.25 -LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
    1.26 +LFLAGS_X86="-arch i386 -Wl,-headerpad_max_install_names -mmacosx-version-min=10.4 \
    1.27  -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \
    1.28  -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin10/4.0.1 \
    1.29  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
    1.30 @@ -95,7 +95,7 @@
    1.31  -isystem /Developer/SDKs/MacOSX10.5.sdk/usr/include"
    1.32  
    1.33  # Intel 64-bit linker flags
    1.34 -LFLAGS_X64="-arch x86_64 -mmacosx-version-min=10.5 \
    1.35 +LFLAGS_X64="-arch x86_64 -Wl,-headerpad_max_install_names -mmacosx-version-min=10.5 \
    1.36  -F/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks \
    1.37  -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin10/4.0.1/x86_64 \
    1.38  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk"