From a7b1d9f5301ebcc16c4556eee7103ca29168ef1f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 22 Dec 2012 17:24:02 -0800 Subject: [PATCH] Added the test library to fatbuild --- build-scripts/fatbuild.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-scripts/fatbuild.sh b/build-scripts/fatbuild.sh index fce53f5d5..807238f4b 100755 --- a/build-scripts/fatbuild.sh +++ b/build-scripts/fatbuild.sh @@ -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 .. @@ -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