Commit f893c517 authored by Sam Lantinga's avatar Sam Lantinga

I think this is it...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401653
parent 99861e39
...@@ -116,10 +116,12 @@ fi ...@@ -116,10 +116,12 @@ fi
# #
# Combine into fat binary # 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 if test x$merge = xyes; then
(cd build && \ (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 && lipo -create -o SDLMain.o */build/SDLMain.o &&
ar cru libSDLmain.a SDLMain.o && ranlib libSDLmain.a && ar cru libSDLmain.a SDLMain.o && ranlib libSDLmain.a &&
echo "Build complete!" && echo "Build complete!" &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment