1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[build] Improve winelib builds

Closes #513, which this is based on.
This commit is contained in:
Philip Rebohle 2018-07-28 15:07:36 +02:00
parent 0aa7ab8fdb
commit e555df93a1
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,10 @@ strip = 'strip'
[properties] [properties]
winelib = true winelib = true
c_args=['-m64']
cpp_args=['-m64', '--no-gnu-unique']
cpp_link_args=['-m64', '-mwindows']
[host_machine] [host_machine]
system = 'linux' system = 'linux'
cpu_family = 'x86_64' cpu_family = 'x86_64'

View File

@ -26,7 +26,6 @@ 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' ])