Update Build.xml

Hxcpp doesn't respect HXCPP_CPP11 for android. We can avoid this issue just by adding -std=c++11 here. This resolves a conflict with openal soft 1.20.1 for android builds. This works because the library assumes c++17 and invokes a function that isn't available in android sdk below 28.
This commit is contained in:
Chris Speciale
2025-03-14 05:29:18 -04:00
committed by GitHub
parent 63b9a88e34
commit 20c9bec3bc

View File

@@ -55,7 +55,8 @@
<set name="NATIVE_TOOLKIT_SDL_ANGLE" value="1" if="LIME_SDL_ANGLE" />
<files id="lime">
<compilerflag value="-std=c++11" />
<compilerflag value="-Iinclude" />
<file name="src/ExternalInterface.cpp" />