Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added the test library to fatbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 23, 2012
1 parent 27d704d commit 2c881f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-scripts/fatbuild.sh
Expand Up @@ -215,6 +215,7 @@ if test x$merge = xyes; then
cp $native_path/build/.libs/libSDL2.lai $output &&
cp $native_path/build/libSDL2.la . &&
lipo -create -o libSDL2main.a */build/libSDL2main.a &&
lipo -create -o libSDL2_test.a */build/libSDL2_test.a &&
echo "Build complete!" &&
echo "Files can be found in the build directory.") || exit 4
cd ..
Expand Down Expand Up @@ -266,6 +267,8 @@ if test x$install_lib = xyes; then
do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c build/libSDL2.la $libdir/libSDL2.la
do_install /usr/bin/install -c -m 644 build/libSDL2main.a $libdir/libSDL2main.a
do_install ranlib $libdir/libSDL2main.a
do_install /usr/bin/install -c -m 644 build/libSDL2_test.a $libdir/libSDL2_test.a
do_install ranlib $libdir/libSDL2_test.a
fi
if test x$install_data = xyes; then
do_install sh $auxdir/mkinstalldirs $datadir/aclocal
Expand Down

0 comments on commit 2c881f7

Please sign in to comment.