# HG changeset patch # User Sam Lantinga # Date 1145418597 0 # Node ID 7c53bb4b1db4417e1a353bdf5bf24079b5faa1cb # Parent 2a55580b767ba5760326ceccf0b995f82c91ad84 I think this is it... diff -r 2a55580b767b -r 7c53bb4b1db4 build-scripts/fatbuild.sh --- a/build-scripts/fatbuild.sh Mon Apr 17 14:27:47 2006 +0000 +++ b/build-scripts/fatbuild.sh Wed Apr 19 03:49:57 2006 +0000 @@ -116,10 +116,12 @@ # # 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!" &&