diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 4c53a19aba..4bcdb1b226 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -174,6 +174,9 @@ (define-public spirv-llvm-translator (string-append "-DLLVM_EXTERNAL_LIT=" (assoc-ref %build-inputs "python-lit") "/bin/lit") + (string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib") + "-DBUILD_SHARED_LIBS=ON" "-DLLVM_SPIRV_INCLUDE_TESTS=ON"))) (inputs (list llvm-18)) (native-inputs (list clang-18 llvm-18 python-lit spirv-headers))