mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +01:00
[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:
parent
1d3decf100
commit
1157b235cc
@ -114,6 +114,11 @@ else
|
|||||||
dxvk_wsi = 'sdl2'
|
dxvk_wsi = 'sdl2'
|
||||||
dxvk_name_prefix = 'libdxvk_'
|
dxvk_name_prefix = 'libdxvk_'
|
||||||
compiler_args += ['-DDXVK_WSI_SDL2']
|
compiler_args += ['-DDXVK_WSI_SDL2']
|
||||||
|
|
||||||
|
link_args += [
|
||||||
|
'-static-libgcc',
|
||||||
|
'-static-libstdc++',
|
||||||
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dxvk_include_path = include_directories(dxvk_include_dirs)
|
dxvk_include_path = include_directories(dxvk_include_dirs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user