Workaround Harfbuzz compile error.

This commit is contained in:
Miku AuahDark
2023-09-28 13:46:25 +08:00
parent f73a91c0be
commit 26a45e4372
+5 -4
View File
@@ -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"
}
}