mbakke pushed a commit to branch staging
in repository guix.
commit 20f435bbd29f617469077fc2e120ffafccf1515f
Author: Marius Bakke <[email protected]>
AuthorDate: Fri May 22 14:48:11 2020 +0200
gnu: spirv-tools: Do not build static libraries.
* gnu/packages/vulkan.scm (spirv-tools)[arguments]: Add
"-DBUILD_SHARED_LIBS=ON" in #:configure-flags.
---
gnu/packages/vulkan.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 58bd7a5..32c11a7 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -87,8 +87,10 @@ and for the GLSL.std.450 extended instruction set.
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags (list (string-append "-DSPIRV-Headers_SOURCE_DIR="
- (assoc-ref %build-inputs "spirv-headers")))))
+ `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
+ (string-append
+ "-DSPIRV-Headers_SOURCE_DIR="
+ (assoc-ref %build-inputs "spirv-headers")))))
(inputs `(("spirv-headers" ,spirv-headers)))
(native-inputs `(("pkg-config" ,pkg-config)
("python" ,python)))