Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
I think this is it...
  • Loading branch information
slouken committed Apr 19, 2006
1 parent 540fdcb commit 79501af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build-scripts/fatbuild.sh
Expand Up @@ -116,10 +116,12 @@ fi
#
# Combine into fat binary
#
target=`echo build/x86/build/.libs/*.dylib | sed 's|.*/||'`
target=`find x86 -type f -name '*.dylib' | sed 's|.*/||'`
if test x$merge = xyes; then
(cd build && \
lipo -create -o $target */build/.libs/libSDL.dylib &&
lipo -create -o $target `find ppc x86 -type f -name "*.dylib"` &&
ln -s $target libSDL-1.2.0.dylib
ln -s $target libSDL.dylib
lipo -create -o SDLMain.o */build/SDLMain.o &&
ar cru libSDLmain.a SDLMain.o && ranlib libSDLmain.a &&
echo "Build complete!" &&
Expand Down

0 comments on commit 79501af

Please sign in to comment.