diff --git a/addons/godot_xterm/native/SConstruct b/addons/godot_xterm/native/SConstruct index 32ce1da..a15a194 100644 --- a/addons/godot_xterm/native/SConstruct +++ b/addons/godot_xterm/native/SConstruct @@ -94,7 +94,7 @@ if env['platform'] == 'linux': env['LIBSUFFIX'] = '.a' env.Append(CCFLAGS=['-fPIC', '-Wwrite-strings']) - env.Append(LINKFLAGS=["-Wl,-R'$$ORIGIN'"]) + env.Append(LINKFLAGS=["-Wl,-R'$$ORIGIN'", '-static-libstdc++']) if env['target'] == 'debug': env.Append(CCFLAGS=['-Og', '-g'])