I think this is it...
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Apr 2006 03:49:57 +0000
changeset 1646 7c53bb4b1db4
parent 1645 2a55580b767b
child 1647 2af911d41a08
I think this is it...
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!" &&