glslang: build shared libraries

shared libraries are required for some of the c++ api classes such as TShader
This commit is contained in:
bobby3605
2024-09-19 23:39:05 -05:00
parent a2cad4db0b
commit c3948c21ef
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake python3 bison jq ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
postPatch = ''
cp --no-preserve=mode -r "${spirv-tools.src}" External/spirv-tools
ln -s "${spirv-headers.src}" External/spirv-tools/external/spirv-headers