gnu: spirv-tools: Do not build static libraries.

* gnu/packages/vulkan.scm (spirv-tools)[arguments]: Add
"-DBUILD_SHARED_LIBS=ON" in #:configure-flags.
This commit is contained in:
Marius Bakke 2020-05-22 14:48:11 +02:00 committed by Marius Bakke
parent cce9424746
commit 8a37a214ca
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -87,8 +87,10 @@ (define-public spirv-tools
(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)))