spirv-cross: change shared build targets

Build shared targets for macOS as well. The reason for this is that, for
example, the `sdl3-shadercross` library depends on these shared
libraries to be available. Without this change `sdl3-shadercross` can
not support darwin targets.
This commit is contained in:
Martin Seller
2025-11-23 20:03:50 +01:00
parent d3ca3185bb
commit 6dbe56499d
+1 -1
View File
@@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
python3
];
cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [
cmakeFlags = lib.optionals stdenv.hostPlatform.isUnix [
(lib.cmakeBool "SPIRV_CROSS_SHARED" true)
];