Updated the fat build for the new libtool libSDLmain.a SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 31 Dec 2011 17:36:14 -0500
branchSDL-1.2
changeset 614120bc36ef6237
parent 6137 4720145f848b
child 6142 b786823f0f46
Updated the fat build for the new libtool libSDLmain.a
build-scripts/fatbuild.sh
     1.1 --- a/build-scripts/fatbuild.sh	Sat Dec 31 09:16:08 2011 -0500
     1.2 +++ b/build-scripts/fatbuild.sh	Sat Dec 31 17:36:14 2011 -0500
     1.3 @@ -222,7 +222,10 @@
     1.4       cp $native_path/build/.libs/libSDL.la $output &&
     1.5       cp $native_path/build/.libs/libSDL.lai $output &&
     1.6       cp $native_path/build/libSDL.la . &&
     1.7 -     lipo -create -o libSDLmain.a */build/libSDLmain.a &&
     1.8 +     lipo -create -o $output/libSDLmain.a */build/.libs/libSDLmain.a &&
     1.9 +     cp $native_path/build/.libs/libSDLmain.la $output &&
    1.10 +     cp $native_path/build/.libs/libSDLmain.lai $output &&
    1.11 +     cp $native_path/build/libSDLmain.la . &&
    1.12       echo "Build complete!" &&
    1.13       echo "Files can be found in the build directory.") || exit 4
    1.14      cd ..
    1.15 @@ -272,8 +275,7 @@
    1.16  if test x$install_lib = xyes; then
    1.17      do_install sh $auxdir/mkinstalldirs $libdir
    1.18      do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c  build/libSDL.la $libdir/libSDL.la
    1.19 -    do_install /usr/bin/install -c -m 644 build/libSDLmain.a $libdir/libSDLmain.a
    1.20 -    do_install ranlib $libdir/libSDLmain.a
    1.21 +    do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c  build/libSDLmain.la $libdir/libSDLmain.la
    1.22  fi
    1.23  if test x$install_data = xyes; then
    1.24      do_install sh $auxdir/mkinstalldirs $datadir/aclocal