Jelajahi Sumber

[godot] Apply throvg build fix from https://github.com/godotengine/godot/issues/95861\#issuecomment-2486021565

Mario Zechner 9 bulan lalu
induk
melakukan
5d94d72c1e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      spine-godot/SConstruct

+ 1 - 1
spine-godot/SConstruct

@@ -66,7 +66,7 @@ Run the following command to download godot-cpp:
 
 env = SConscript("godot-cpp/SConstruct", {"env": env, "customs": customs})
 
-env.Append(CPPDEFINES=["SPINE_GODOT_EXTENSION"])
+env.Append(CPPDEFINES=["SPINE_GODOT_EXTENSION", "_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR"])
 env.Append(CPPPATH=["spine_godot", "spine_godot/spine-cpp/include"])
 
 # sources = Glob("spine_godot/*.cpp") + Glob("spine_godot/spine-cpp/src/spine/*.cpp")