build-scripts/fatbuild.sh
changeset 1646 7c53bb4b1db4
parent 1645 2a55580b767b
child 1648 9f59d4c5aaea
     1.1 --- a/build-scripts/fatbuild.sh	Mon Apr 17 14:27:47 2006 +0000
     1.2 +++ b/build-scripts/fatbuild.sh	Wed Apr 19 03:49:57 2006 +0000
     1.3 @@ -116,10 +116,12 @@
     1.4  #
     1.5  # Combine into fat binary
     1.6  #
     1.7 -target=`echo build/x86/build/.libs/*.dylib | sed 's|.*/||'`
     1.8 +target=`find x86 -type f -name '*.dylib' | sed 's|.*/||'`
     1.9  if test x$merge = xyes; then
    1.10      (cd build && \
    1.11 -     lipo -create -o $target */build/.libs/libSDL.dylib &&
    1.12 +     lipo -create -o $target `find ppc x86 -type f -name "*.dylib"` &&
    1.13 +     ln -s $target libSDL-1.2.0.dylib
    1.14 +     ln -s $target libSDL.dylib
    1.15       lipo -create -o SDLMain.o */build/SDLMain.o &&
    1.16       ar cru libSDLmain.a SDLMain.o && ranlib libSDLmain.a &&
    1.17       echo "Build complete!" &&