[build] Specify static libgcc/stdc++ on native

We don't have any interfaces that rely on the c++ abi. Makes our builds more portable.

Means that our builds in Sniper can be used on games that are still forcing the old C++03 string abi.
This commit is contained in:
Joshua Ashton 2022-10-06 01:25:38 +01:00 committed by Philip Rebohle
parent 1d3decf100
commit 1157b235cc
1 changed files with 5 additions and 0 deletions

View File

@ -114,6 +114,11 @@ else
dxvk_wsi = 'sdl2'
dxvk_name_prefix = 'libdxvk_'
compiler_args += ['-DDXVK_WSI_SDL2']
link_args += [
'-static-libgcc',
'-static-libstdc++',
]
endif
dxvk_include_path = include_directories(dxvk_include_dirs)