From b55fd934ee0e4dfc6dede8bbaadb15bf71eff74e Mon Sep 17 00:00:00 2001 From: Manuele Finocchiaro Date: Tue, 28 Sep 2021 15:07:31 +0100 Subject: [PATCH] Compile bullet with threasafe switch on (cherry picked from commit 6f81c213a65d288f4ae9c29472e85460dad6038b) --- modules/bullet/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub index d2d1f37c321..09509abc446 100644 --- a/modules/bullet/SCsub +++ b/modules/bullet/SCsub @@ -205,7 +205,7 @@ if env["builtin_bullet"]: if env["target"] == "debug" or env["target"] == "release_debug": env_bullet.Append(CPPDEFINES=["DEBUG"]) - env_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD"]) + env_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD", "BT_THREADSAFE"]) env_thirdparty = env_bullet.Clone() env_thirdparty.disable_warnings()