mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[build,android] undefine __ANDROID_API__ before redefining
This commit is contained in:
@@ -30,7 +30,7 @@ function build {
|
|||||||
BASE=$(pwd)
|
BASE=$(pwd)
|
||||||
DST_DIR=$BUILD_DST/$DST_PREFIX
|
DST_DIR=$BUILD_DST/$DST_PREFIX
|
||||||
common_run cd $BUILD_SRC
|
common_run cd $BUILD_SRC
|
||||||
common_run ./Configure ${CONFIG} -D__ANDROID_API__=$NDK_TARGET
|
common_run ./Configure ${CONFIG} -U__ANDROID_API__ -D__ANDROID_API__=$NDK_TARGET
|
||||||
common_run make SHLIB_EXT=.so -j build_libs
|
common_run make SHLIB_EXT=.so -j build_libs
|
||||||
|
|
||||||
if [ ! -d $DST_DIR ]; then
|
if [ ! -d $DST_DIR ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user