mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: spirv-tools: Disable building static libraries.
* gnu/packages/vulkan.scm (spirv-tools): Disable building static libraries to fix linking issues for packages such as mpv. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
29754d3683
commit
522d21863e
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ (define-public spirv-tools
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
|
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
|
||||||
|
;; Some packages like mpv fail to link
|
||||||
|
;; when the static libraries are built.
|
||||||
|
"-DSPIRV_TOOLS_BUILD_STATIC=OFF"
|
||||||
(string-append
|
(string-append
|
||||||
"-DSPIRV-Headers_SOURCE_DIR="
|
"-DSPIRV-Headers_SOURCE_DIR="
|
||||||
(assoc-ref %build-inputs "spirv-headers")))))
|
(assoc-ref %build-inputs "spirv-headers")))))
|
||||||
|
|
Loading…
Reference in a new issue