Mercurial > sdl-ios-xcode
comparison build-scripts/fatbuild.sh @ 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 | 1bc3d3b2cde1 |
children | 6f74b80cca1d |
comparison
equal
deleted
inserted
replaced
4147:6bdec986f2f6 | 4148:3e7f2edce658 |
---|---|
33 -F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \ | 33 -F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \ |
34 -I$SDK_PATH/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \ | 34 -I$SDK_PATH/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \ |
35 -isystem $SDK_PATH/MacOSX10.2.8.sdk/usr/include" | 35 -isystem $SDK_PATH/MacOSX10.2.8.sdk/usr/include" |
36 | 36 |
37 # PowerPC linker flags | 37 # PowerPC linker flags |
38 LFLAGS_PPC="-arch ppc \ | 38 LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc \ |
39 -L$SDK_PATH/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \ | 39 -L$SDK_PATH/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \ |
40 -F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \ | 40 -F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \ |
41 -Wl,-syslibroot,$SDK_PATH/MacOSX10.2.8.sdk" | 41 -Wl,-syslibroot,$SDK_PATH/MacOSX10.2.8.sdk" |
42 | 42 |
43 else # 10.2 or 10.3 SDK | 43 else # 10.2 or 10.3 SDK |
56 -F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \ | 56 -F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \ |
57 -I$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include \ | 57 -I$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include \ |
58 -isystem $SDK_PATH/MacOSX10.3.9.sdk/usr/include" | 58 -isystem $SDK_PATH/MacOSX10.3.9.sdk/usr/include" |
59 | 59 |
60 # PowerPC linker flags | 60 # PowerPC linker flags |
61 LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.3 \ | 61 LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc -mmacosx-version-min=10.3 \ |
62 -L$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 \ | 62 -L$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 \ |
63 -F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \ | 63 -F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \ |
64 -Wl,-syslibroot,$SDK_PATH/MacOSX10.3.9.sdk" | 64 -Wl,-syslibroot,$SDK_PATH/MacOSX10.3.9.sdk" |
65 | 65 |
66 fi # 10.2 or 10.3 SDK | 66 fi # 10.2 or 10.3 SDK |
79 -F$SDK_PATH/MacOSX10.4u.sdk/System/Library/Frameworks \ | 79 -F$SDK_PATH/MacOSX10.4u.sdk/System/Library/Frameworks \ |
80 -I$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include \ | 80 -I$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include \ |
81 -isystem $SDK_PATH/MacOSX10.4u.sdk/usr/include" | 81 -isystem $SDK_PATH/MacOSX10.4u.sdk/usr/include" |
82 | 82 |
83 # Intel linker flags | 83 # Intel linker flags |
84 LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \ | 84 LFLAGS_X86="-Wl,-headerpad_max_install_names -arch i386 -mmacosx-version-min=10.4 \ |
85 -L$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1 \ | 85 -L$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1 \ |
86 -Wl,-syslibroot,$SDK_PATH/MacOSX10.4u.sdk" | 86 -Wl,-syslibroot,$SDK_PATH/MacOSX10.4u.sdk" |
87 | 87 |
88 # | 88 # |
89 # Find the configure script | 89 # Find the configure script |