Skip to content
Permalink
Browse files

Updated the fat build for the new libtool libSDLmain.a

  • Loading branch information
slouken committed Dec 31, 2011
1 parent 0032df6 commit fbcd536f8e7cc8515db0ae88b2b39eaf8fd1ee62
Showing with 5 additions and 3 deletions.
  1. +5 −3 build-scripts/fatbuild.sh
@@ -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 ..
@@ -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

0 comments on commit fbcd536

Please sign in to comment.