diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/vulkan.scm | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ SPIR-V, aiming to emit GLSL or MSL that looks like human-written code.") (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)) |