diff options
author | Kaelyn Takata <kaelyn.alexi@protonmail.com> | 2022-11-16 22:52:56 +0000 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-04-14 15:10:51 -0400 |
commit | 8dcf3c16515e926ef06f8fd10fd9d2400359e0bc (patch) | |
tree | 9e28c50ec6b8a4c8641ba98800bd06edba153660 | |
parent | 078f33e4206be799adde55eaac9a5b3125fb392d (diff) |
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>
-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 74a06ab4c3..5edf7ba81a 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -90,6 +90,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"))))) |