diff --git a/android/build_wrapper_arm.sh b/android/build_wrapper_arm.sh index 2033443916..bbe267d4fa 100755 --- a/android/build_wrapper_arm.sh +++ b/android/build_wrapper_arm.sh @@ -28,7 +28,7 @@ export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -fun export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog" export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include" export PKG_CONFIG_SYSROOT_DIR=$TCSYSROOT -export PTHREAD= +export PTHREAD=-L. # Prepare android toolchain and environment ./build_androidtc_arm.sh diff --git a/android/build_wrapper_mips.sh b/android/build_wrapper_mips.sh index 536ef48091..5203e4561a 100755 --- a/android/build_wrapper_mips.sh +++ b/android/build_wrapper_mips.sh @@ -28,7 +28,7 @@ export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -fun export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog" export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include" export PKG_CONFIG_SYSROOT_DIR=$TCSYSROOT -export PTHREAD= +export PTHREAD=-L. # Prepare android toolchain and environment ./build_androidtc_mips.sh diff --git a/android/build_wrapper_x86.sh b/android/build_wrapper_x86.sh index 30a5a988d8..dc7f6be497 100755 --- a/android/build_wrapper_x86.sh +++ b/android/build_wrapper_x86.sh @@ -28,7 +28,7 @@ export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -fun export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog" export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include" export PKG_CONFIG_SYSROOT_DIR=$TCSYSROOT -export PTHREAD= +export PTHREAD=-L. # Prepare android toolchain and environment ./build_androidtc_x86.sh