summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-05-22 14:48:11 +0200
committerMarius Bakke <marius@gnu.org>2020-05-26 22:36:06 +0200
commit8a37a214cab94490d2376eb262d8f5389775b1b0 (patch)
tree83267915c9d268ee65284c0688fc9f8392461ca2
parentcce94247461ae1622c55efdfc4312a8db5e84300 (diff)
downloadguix-8a37a214cab94490d2376eb262d8f5389775b1b0.tar.gz
gnu: spirv-tools: Do not build static libraries.
* gnu/packages/vulkan.scm (spirv-tools)[arguments]: Add
"-DBUILD_SHARED_LIBS=ON" in #:configure-flags.
-rw-r--r--gnu/packages/vulkan.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 58bd7a5932..32c11a7a41 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)))