Closed ilobilo closed 2 months ago
what can I do about failing checks?
oh oops, I copied the function from some package
maybe add:
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
since the other libsdl packages have it
maybe add:
if is_plat("wasm") then add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true}) end
since the other libsdl packages have it
done
what does it want now
@c8ef https://github.com/xmake-io/xmake-repo/commit/e167e3a9cc6d83706c50908306f7227c1d47f119 break android ci :(
It appears that the API has been officially deprecated in NDK 27. I believe cherry-picking https://github.com/libsdl-org/SDL/commit/558630d59c2db73ac7c0c0cae000e4bee6ef42cf should be sufficient.
I'm not sure why the patch is missing from the version released two weeks ago: https://github.com/libsdl-org/SDL/blob/release-2.30.6/src/sensor/android/SDL_androidsensor.c. It's quite strange.🙄
we can use io.replace or add_patches to fix it.