mirror of
https://github.com/love2d/love-android.git
synced 2026-08-20 12:40:28 +02:00
added building of the theora library
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This file is a modified version of the android build system of the
|
||||
# Adventure Game Studio (AGS) https://github.com/adventuregamestudio/ags
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
source ./ndkenv.sh
|
||||
|
||||
BUILD_DIR=build
|
||||
rm -rf $BUILD_DIR
|
||||
mkdir $BUILD_DIR
|
||||
cp ../src/* -a $BUILD_DIR
|
||||
|
||||
export CFLAGS="$NDK_CFLAGS -fsigned-char --sysroot=$NDK_PLATFORM_ROOT"
|
||||
export LDFLAGS="$NDK_LDFLAGS"
|
||||
|
||||
pushd $BUILD_DIR
|
||||
|
||||
# disable asflag-probe as it guess wrong arm arch
|
||||
./autogen.sh --host=$NDK_HOST_NAME --disable-doc --disable-examples --disable-asflag-probe --disable-encode --disable-shared --disable-spec --disable-oggtest --disable-vorbistest
|
||||
|
||||
popd
|
||||
Reference in New Issue
Block a user