guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

41/63: gnu: spirv-tools: Do not build static libraries.


From: guix-commits
Subject: 41/63: gnu: spirv-tools: Do not build static libraries.
Date: Mon, 25 May 2020 15:15:27 -0400 (EDT)

mbakke pushed a commit to branch staging2
in repository guix.

commit 6ee2ad62c061598e4367aef11e146f0518ca3bae
Author: Marius Bakke <address@hidden>
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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]