equal
deleted
inserted
replaced
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 |