1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 05:52:11 +01:00

[build] Use -mwindows to link executables.

This commit is contained in:
Jacek Caban 2018-07-18 15:41:44 +02:00 committed by Philip Rebohle
parent c934d85b85
commit ead2147738

View File

@ -24,6 +24,7 @@ else
endif endif
if meson.get_cross_property('winelib', false) if meson.get_cross_property('winelib', false)
add_project_link_arguments('-mwindows', language : 'cpp')
lib_vulkan = declare_dependency(link_args: [ '-lvulkan-1' ]) lib_vulkan = declare_dependency(link_args: [ '-lvulkan-1' ])
lib_d3d11 = declare_dependency(link_args: [ '-ld3d11' ]) lib_d3d11 = declare_dependency(link_args: [ '-ld3d11' ])
lib_dxgi = declare_dependency(link_args: [ '-ldxgi' ]) lib_dxgi = declare_dependency(link_args: [ '-ldxgi' ])