mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[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:
parent
f1578b8ed3
commit
25798f6fe1
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user