-lc++_shared

This commit is contained in:
Tran Khanh Duy 2020-11-03 17:54:44 +07:00 committed by GitHub
parent 46904dfada
commit 89e1a52a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ export TOOLCHAIN=$ANDROID_DEVKIT
export ANDROID_INCLUDE=$NDK/platforms/android-21/arch-${TARGET_SHORT}/usr/include
export CPPFLAGS="-I$ANDROID_INCLUDE" # -I/usr/include -I/usr/lib
export LDFLAGS="-L$NDK/platforms/android-21/arch-${TARGET_SHORT}/usr/lib"
export LDFLAGS="-L$NDK/platforms/android-21/arch-${TARGET_SHORT}/usr/lib -lc++_shared"
# Configure and build.
# Deprecated...