[build] Set name_prefix to `libdxvk_` for native builds

Less rude and nicer than just d3d9.so.
Matches old DXVK native behaviour too.
This commit is contained in:
Joshua Ashton 2022-10-05 21:04:59 +01:00 committed by Philip Rebohle
parent f1578b8ed3
commit 25798f6fe1
5 changed files with 6 additions and 4 deletions

View File

@ -97,6 +97,7 @@ if platform == 'windows'
endif
dxvk_wsi = 'win32'
dxvk_name_prefix = ''
compiler_args += ['-DDXVK_WSI_WIN32']
else
lib_sdl2 = cpp.find_library('SDL2')
@ -111,6 +112,7 @@ else
]
dxvk_wsi = 'sdl2'
dxvk_name_prefix = 'libdxvk_'
compiler_args += ['-DDXVK_WSI_SDL2']
endif

View File

@ -5,7 +5,7 @@ d3d10_core_src = [
]
d3d10_core_dll = shared_library('d3d10core'+dll_ext, d3d10_core_src, d3d10_core_res,
name_prefix : '',
name_prefix : dxvk_name_prefix,
dependencies : [ d3d11_dep ],
include_directories : dxvk_include_path,
install : true,

View File

@ -69,7 +69,7 @@ d3d11_shaders = files([
d3d11_dll = shared_library('d3d11'+dll_ext, dxgi_common_src + d3d11_src + d3d10_src,
glsl_generator.process(d3d11_shaders), d3d11_res,
name_prefix : '',
name_prefix : dxvk_name_prefix,
dependencies : [ dxgi_dep, dxbc_dep, dxvk_dep ],
include_directories : dxvk_include_path,
install : true,

View File

@ -47,7 +47,7 @@ d3d9_src = [
]
d3d9_dll = shared_library('d3d9'+dll_ext, d3d9_src, glsl_generator.process(d3d9_shaders), d3d9_res,
name_prefix : '',
name_prefix : dxvk_name_prefix,
dependencies : [ dxso_dep, dxvk_dep ],
include_directories : dxvk_include_path,
install : true,

View File

@ -13,7 +13,7 @@ dxgi_src = [
]
dxgi_dll = shared_library('dxgi'+dll_ext, dxgi_src, dxgi_res,
name_prefix : '',
name_prefix : dxvk_name_prefix,
dependencies : [ dxvk_dep ],
include_directories : dxvk_include_path,
install : true,