comparison build-scripts/fatbuild.sh @ 1645:2a55580b767b

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 17 Apr 2006 14:27:47 +0000
parents 0f466fb614a9
children 7c53bb4b1db4
comparison
equal deleted inserted replaced
1644:8a858076f39d 1645:2a55580b767b
117 # Combine into fat binary 117 # Combine into fat binary
118 # 118 #
119 target=`echo build/x86/build/.libs/*.dylib | sed 's|.*/||'` 119 target=`echo build/x86/build/.libs/*.dylib | sed 's|.*/||'`
120 if test x$merge = xyes; then 120 if test x$merge = xyes; then
121 (cd build && \ 121 (cd build && \
122 lipo -create -o $target */build/.libs/*.dylib && 122 lipo -create -o $target */build/.libs/libSDL.dylib &&
123 lipo -create -o SDLMain.o */build/SDLMain.o && 123 lipo -create -o SDLMain.o */build/SDLMain.o &&
124 ar cru libSDLmain.a SDLMain.o && ranlib libSDLmain.a && 124 ar cru libSDLmain.a SDLMain.o && ranlib libSDLmain.a &&
125 echo "Build complete!" && 125 echo "Build complete!" &&
126 echo "Files can be found in the build directory.") || exit 4 126 echo "Files can be found in the build directory.") || exit 4
127 fi 127 fi