mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
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:
parent
cce9424746
commit
8a37a214ca
1 changed files with 4 additions and 2 deletions
|
@ -87,8 +87,10 @@ (define-public spirv-tools
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags (list (string-append "-DSPIRV-Headers_SOURCE_DIR="
|
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
|
||||||
(assoc-ref %build-inputs "spirv-headers")))))
|
(string-append
|
||||||
|
"-DSPIRV-Headers_SOURCE_DIR="
|
||||||
|
(assoc-ref %build-inputs "spirv-headers")))))
|
||||||
(inputs `(("spirv-headers" ,spirv-headers)))
|
(inputs `(("spirv-headers" ,spirv-headers)))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)
|
(native-inputs `(("pkg-config" ,pkg-config)
|
||||||
("python" ,python)))
|
("python" ,python)))
|
||||||
|
|
Loading…
Reference in a new issue