mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-21 17:20:25 +01:00
Statically link libstdc++
Otherwise binaries build on GitHub Actions fail to load on NixOS as dynamically linked libstdc++ cannot be found.
This commit is contained in:
parent
66f656bda5
commit
9435502c8d
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue