diff --git a/toolchains/android-common/packages/libsdl2/build.sh b/toolchains/android-common/packages/libsdl2/build.sh deleted file mode 100755 index 5d8d386..0000000 --- a/toolchains/android-common/packages/libsdl2/build.sh +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/sh - -PACKAGE_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) -HELPERS_DIR=$PACKAGE_DIR/../.. -. $HELPERS_DIR/functions.sh - -do_make_bdir - -do_pkg_fetch libsdl2 -do_configure - -do_make -do_make install - -# SDL uses SDL_config.h to enable features but they depend on architecture being cross-compiled. -# As we use a unified include directory we must trick, so we move SDL_config.h to an arch -# dependent name andwe create a toplevel file which selects the good file to include -mv $PREFIX/include/SDL2/SDL_config.h $PREFIX/include/SDL2/SDL_config_$TARGET.h - -cat > $PREFIX/include/SDL2/SDL_config.h <