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:
authorConnor Abbott <cwabbott0@gmail.com>2021-07-02 15:04:42 +0300
committerPhilip Rebohle <philip.rebohle@tu-dortmund.de>2021-07-03 15:28:25 +0300
commit120585c66da6e7944c300177bf33bffeb545e22c (patch)
treec762c780c4c6b408348396e8c1c4120355fe1c4d /meson.build
parentc8a9308c37d71c8dbf30aebeac09fbdd91a8b94b (diff)
Don't hardcode windres location
This isn't the meson way to do things. Doing this also prepares us for using the builtin meson rc support instead of hand-rolling our own once https://github.com/mesonbuild/meson/pull/8954 lands.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build8
1 files changed, 1 insertions, 7 deletions
diff --git a/meson.build b/meson.build
index d8dffa60..2bf170cd 100644
--- a/meson.build
+++ b/meson.build
@@ -57,13 +57,7 @@ else
add_global_link_arguments('-static', '-static-libgcc', language: 'c')
add_global_link_arguments('-static', '-static-libgcc', '-static-libstdc++', language: 'cpp')
- if cpu_family == 'x86_64'
- wrc = find_program('x86_64-w64-mingw32-windres')
- elif cpu_family == 'x86'
- wrc = find_program('i686-w64-mingw32-windres')
- else
- error('Unsupported target architecture')
- endif
+ wrc = find_program('windres')
endif
if cpu_family == 'x86_64'