Skip to content

Commit 6c83f82

Browse files
committed
Disable "use_static_cpp" when "use_hot_reload" is enabled
1 parent fde93df commit 6c83f82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/linux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def generate(env):
1919
elif env.use_hot_reload:
2020
# Required for extensions to truly unload.
2121
env.Append(CXXFLAGS=["-fno-gnu-unique"])
22+
# Reload won't work with "use_static_cpp", so disable it.
23+
env["use_static_cpp"] = False
2224

2325
env.Append(CCFLAGS=["-fPIC", "-Wwrite-strings"])
2426
env.Append(LINKFLAGS=["-Wl,-R,'$$ORIGIN'"])

0 commit comments

Comments
 (0)