mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-28 16:24:13 +01:00
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.
This commit is contained in:
parent
c8a9308c37
commit
120585c66d
@ -3,6 +3,7 @@ c = 'i686-w64-mingw32-gcc'
|
||||
cpp = 'i686-w64-mingw32-g++'
|
||||
ar = 'i686-w64-mingw32-ar'
|
||||
strip = 'i686-w64-mingw32-strip'
|
||||
windres = 'i686-w64-mingw32-windres'
|
||||
|
||||
[properties]
|
||||
needs_exe_wrapper = true
|
||||
|
@ -3,6 +3,7 @@ c = 'x86_64-w64-mingw32-gcc'
|
||||
cpp = 'x86_64-w64-mingw32-g++'
|
||||
ar = 'x86_64-w64-mingw32-ar'
|
||||
strip = 'x86_64-w64-mingw32-strip'
|
||||
windres = 'x86_64-w64-mingw32-windres'
|
||||
|
||||
[properties]
|
||||
needs_exe_wrapper = true
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user