Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2022-10-06 03:25:38 +0300
committerJoshua Ashton <joshua@froggi.es>2022-10-06 03:25:38 +0300
commit234157bbcfa265744b45e8eb45ff6886632ddde1 (patch)
treeb2ffa77607243df5ce615fb8d1120587bc333ad3
parent7ca1b44de569d2e8856d39fb59c5c19912f15bc5 (diff)
[build] Specify static libgcc/stdc++ on nativerandom-native-crap
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.
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 0ae1a4c9..8fb1265c 100644
--- a/meson.build
+++ b/meson.build
@@ -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)