mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
14 lines
848 B
Diff
14 lines
848 B
Diff
diff --git a/Scripts/create_dylib.sh b/Scripts/create_dylib.sh
|
|
index 5ba75f67..a0405067 100755
|
|
--- a/Scripts/create_dylib.sh
|
|
+++ b/Scripts/create_dylib.sh
|
|
@@ -57,6 +57,8 @@ ${MVK_SAN} \
|
|
-framework Metal ${MVK_IOSURFACE_FWK} -framework ${MVK_UX_FWK} -framework QuartzCore -framework CoreGraphics ${MVK_IOKIT_FWK} -framework Foundation \
|
|
--library-directory ${MVK_USR_LIB_DIR} \
|
|
-o "${MVK_BUILT_PROD_DIR}/dynamic/${MVK_DYLIB_NAME}" \
|
|
+-L@@sourceRoot@@/outputs/lib -L@@glslang@@/lib -L@@spirv-tools@@/lib -L@@spirv-cross@@/lib \
|
|
+-lobjc -lMoltenVKShaderConverter -lGenericCodeGen -lMachineIndependent -lOGLCompiler -lOSDependent -lSPIRV -lSPIRV-Tools -lSPIRV-Tools-opt -lspirv-cross-core -lspirv-cross-glsl -lspirv-cross-msl -lspirv-cross-reflect \
|
|
-force_load "${MVK_BUILT_PROD_DIR}/lib${PRODUCT_NAME}.a"
|
|
|
|
if test "$CONFIGURATION" = Debug; then
|