From 26a45e437274aa68172df6e9f01549ec55572e16 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Thu, 28 Sep 2023 13:46:25 +0800 Subject: [PATCH] Workaround Harfbuzz compile error. --- app/build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d2ad0400..2f9919c2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,11 +19,12 @@ android { externalNativeBuild { cmake { arguments "-DANDROID_STL=c++_shared" - // https://issuetracker.google.com/issues/274493986 + cppFlags "-Wno-error=cast-function-type-strict" + // https://issuetracker.google.com/issues/274493986 // Transitive shared library that's added through `add_dependencies` is not taken into - // account. This result in liboboe.so and libluajit.so not get included into the final - // APK. "love" target depends on LuaJIT, and OpenAL that depends on oboe::oboe. So, - // add "OpenAL" and "love" target. + // account. This result in liboboe.so and libluajit.so not get included into the final + // APK. "love" target depends on LuaJIT, and OpenAL that depends on oboe::oboe. So, + // add "OpenAL" and "love" target. targets "love_android", "OpenAL", "love" } }