diff --git a/wscript b/wscript index 453eb0d742..f4a410985c 100644 --- a/wscript +++ b/wscript @@ -746,10 +746,23 @@ video_output_features = [ 'desc': 'libshaderc SPIR-V compiler', 'deps': 'shaderc-shared || shaderc-static', 'func': check_true, + }, { + 'name': 'spirv-cross-shared', + 'desc': 'SPIRV-Cross SPIR-V shader converter (shared library)', + 'deps': '!static-build', + 'groups': ['spirv-cross'], + 'func': check_pkg_config('spirv-cross-c-shared'), + }, { + 'name': 'spirv-cross-static', + 'desc': 'SPIRV-Cross SPIR-V shader converter (static library)', + 'deps': '!spirv-cross-shared', + 'groups': ['spirv-cross'], + 'func': check_pkg_config('spirv-cross'), }, { 'name': '--spirv-cross', 'desc': 'SPIRV-Cross SPIR-V shader converter', - 'func': check_pkg_config('spirv-cross-c-shared'), + 'deps': 'spirv-cross-shared || spirv-cross-static', + 'func': check_true, }, { 'name': '--d3d11', 'desc': 'Direct3D 11 video output',