changeset 1646:7c53bb4b1db4

I think this is it...
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Apr 2006 03:49:57 +0000
parents 2a55580b767b
children 2af911d41a08
files build-scripts/fatbuild.sh
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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!" &&