diff --git a/ci_build_android.bash b/ci_build_android.bash index aeb4117197..687a60e4bc 100644 --- a/ci_build_android.bash +++ b/ci_build_android.bash @@ -51,7 +51,8 @@ if [ "$SKIP_FREETYPE" != "1" ]; then cd freetype-$BUILD_FREETYPE_VERSION export CC=$NDK_TARGET-linux-android${NDK_SUFFIX}21-clang - + export LDARGS=-fuse-ld=lld + ./configure \ --host=$TARGET \ --prefix=`pwd`/build_android-$LWJGL_BUILD_ARCH \ @@ -68,6 +69,7 @@ if [ "$SKIP_FREETYPE" != "1" ]; then rm -rf freetype-$BUILD_FREETYPE_VERSION unset BUILD_FREETYPE_VERSION unset CC + unset LDARGS fi # Download libraries