diff options
author | Kaelyn Takata <kaelyn.alexi@protonmail.com> | 2022-11-16 22:52:56 +0000 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-17 19:23:34 +0100 |
commit | 522d21863eabf032e6131ab0f0f65091b0b81963 (patch) | |
tree | e24f50843526e52190b60316cff31408986eca19 /gnu/packages/vulkan.scm | |
parent | 29754d3683acd188c2c461b934227ba1d909ac63 (diff) | |
download | guix-522d21863eabf032e6131ab0f0f65091b0b81963.tar guix-522d21863eabf032e6131ab0f0f65091b0b81963.tar.gz |
gnu: spirv-tools: Disable building static libraries.
* gnu/packages/vulkan.scm (spirv-tools): Disable building static libraries to
fix linking issues for packages such as mpv.
Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages/vulkan.scm')
-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 c00c06d7f3..6840f66c68 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -91,6 +91,9 @@ and for the GLSL.std.450 extended instruction set. (build-system cmake-build-system) (arguments `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON" + ;; Some packages like mpv fail to link + ;; when the static libraries are built. + "-DSPIRV_TOOLS_BUILD_STATIC=OFF" (string-append "-DSPIRV-Headers_SOURCE_DIR=" (assoc-ref %build-inputs "spirv-headers"))))) |