diff --git a/tools/linux.py b/tools/linux.py index ae8019877..ce4bbbc1e 100644 --- a/tools/linux.py +++ b/tools/linux.py @@ -19,6 +19,8 @@ def generate(env): elif env.use_hot_reload: # Required for extensions to truly unload. env.Append(CXXFLAGS=["-fno-gnu-unique"]) + # Reload won't work with "use_static_cpp", so disable it. + env["use_static_cpp"] = False env.Append(CCFLAGS=["-fPIC", "-Wwrite-strings"]) env.Append(LINKFLAGS=["-Wl,-R,'$$ORIGIN'"])