me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/vulkan.scm (spirv-tools)[arguments]: Add
"-DBUILD_SHARED_LIBS=ON" in #:configure-flags.
master
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
1 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,9 @@ 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="
`(#: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)