llvm-spirv-translator: fix build on Darwin
This commit is contained in:
parent
b8e4cb4044
commit
238571b21b
@ -75,6 +75,9 @@ stdenv.mkDerivation {
|
||||
|
||||
postInstall = ''
|
||||
install -D tools/llvm-spirv/llvm-spirv $out/bin/llvm-spirv
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool $out/bin/llvm-spirv \
|
||||
-change @rpath/libLLVMSPIRVLib.dylib $out/lib/libLLVMSPIRVLib.dylib
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user