From 2bd6f8f80ff4293200f371216becc3bc69df2f07 Mon Sep 17 00:00:00 2001 From: chyyran Date: Thu, 30 Nov 2023 01:58:47 -0500 Subject: [PATCH] build: prefer static linking of shaderc --- librashader-reflect/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/librashader-reflect/Cargo.toml b/librashader-reflect/Cargo.toml index 09981b3..7870f52 100644 --- a/librashader-reflect/Cargo.toml +++ b/librashader-reflect/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["shader", "retroarch", "SPIR-V"] description = "RetroArch shaders for all." [dependencies] -shaderc = { version = "0.8.2", features = [] } +shaderc = { version = "0.8.3", features = [] } bytemuck = "1.13.0" thiserror = "1.0.37" @@ -37,7 +37,7 @@ optional = true [features] default = ["cross", "serialize"] unstable-naga = [ "naga", "rspirv" ] -standalone = ["shaderc/build-from-source"] +standalone = ["shaderc/build-from-source", "shaderc/prefer-static-linking"] dxil = ["cross", "spirv-to-dxil"] cross = [ "spirv_cross", "spirv_cross/glsl", "spirv_cross/hlsl" ] serialize = [ "serde" ]