Skip to content

Commit

Permalink
Updated the fat build for the new libtool libSDLmain.a
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 31, 2011
1 parent 0032df6 commit fbcd536
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build-scripts/fatbuild.sh
Expand Up @@ -222,7 +222,10 @@ if test x$merge = xyes; then
cp $native_path/build/.libs/libSDL.la $output &&
cp $native_path/build/.libs/libSDL.lai $output &&
cp $native_path/build/libSDL.la . &&
lipo -create -o libSDLmain.a */build/libSDLmain.a &&
lipo -create -o $output/libSDLmain.a */build/.libs/libSDLmain.a &&
cp $native_path/build/.libs/libSDLmain.la $output &&
cp $native_path/build/.libs/libSDLmain.lai $output &&
cp $native_path/build/libSDLmain.la . &&
echo "Build complete!" &&
echo "Files can be found in the build directory.") || exit 4
cd ..
Expand Down Expand Up @@ -272,8 +275,7 @@ fi
if test x$install_lib = xyes; then
do_install sh $auxdir/mkinstalldirs $libdir
do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c build/libSDL.la $libdir/libSDL.la
do_install /usr/bin/install -c -m 644 build/libSDLmain.a $libdir/libSDLmain.a
do_install ranlib $libdir/libSDLmain.a
do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c build/libSDLmain.la $libdir/libSDLmain.la
fi
if test x$install_data = xyes; then
do_install sh $auxdir/mkinstalldirs $datadir/aclocal
Expand Down

0 comments on commit fbcd536

Please sign in to comment.