diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2021-07-02 15:04:42 +0300 |
---|---|---|
committer | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2021-07-03 15:28:25 +0300 |
commit | 120585c66da6e7944c300177bf33bffeb545e22c (patch) | |
tree | c762c780c4c6b408348396e8c1c4120355fe1c4d /meson.build | |
parent | c8a9308c37d71c8dbf30aebeac09fbdd91a8b94b (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.build | 8 |
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' |