mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 08:31:04 +02:00
Workaround Harfbuzz compile error.
This commit is contained in:
+5
-4
@@ -19,11 +19,12 @@ android {
|
|||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
arguments "-DANDROID_STL=c++_shared"
|
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
|
// 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
|
// 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,
|
// APK. "love" target depends on LuaJIT, and OpenAL that depends on oboe::oboe. So,
|
||||||
// add "OpenAL" and "love" target.
|
// add "OpenAL" and "love" target.
|
||||||
targets "love_android", "OpenAL", "love"
|
targets "love_android", "OpenAL", "love"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user