mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 02:20:24 +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
5e89dbd4ea
commit
5273ccf05b
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