[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59324] [PATCH staging] gnu: spirv-tools: Disable building static li
From: |
Kaelyn Takata |
Subject: |
[bug#59324] [PATCH staging] gnu: spirv-tools: Disable building static libraries. |
Date: |
Wed, 16 Nov 2022 22:52:56 +0000 |
* gnu/packages/vulkan.scm (spirv-tools): Disable building static libraries to
fix linking issues for packages such as mpv.
---
gnu/packages/vulkan.scm | 3 +++
1 file changed, 3 insertions(+)
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 @@ (define-public spirv-tools
(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")))))
base-commit: 29754d3683acd188c2c461b934227ba1d909ac63
--
2.38.0
- [bug#59324] [PATCH staging] gnu: spirv-tools: Disable building static libraries.,
Kaelyn Takata <=