# HG changeset patch # User Ryan C. Gordon # Date 1216983130 0 # Node ID 3e7f2edce658b65368184e5dfc405124a1bf60bf # Parent 6bdec986f2f692b0af97f72bf234e058bdb80689 Tweaked fatbuild.sh so it works with install_name_tool. diff -r 6bdec986f2f6 -r 3e7f2edce658 build-scripts/fatbuild.sh --- 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"