mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: tinygltf: Install a library.
Previously, only a static library would be produced and then deleted in a phase. * gnu/packages/graphics.scm (tinygltf) [arguments]: Add #:configure-flags. <phases>: Remove delete-static-lib. Change-Id: I019a87a4fbf68fc19270a41d58af3a2184b77215
This commit is contained in:
parent
ae17a601d9
commit
3f135b6ce0
1 changed files with 1 additions and 4 deletions
|
|
@ -2611,6 +2611,7 @@ and build scripts for the OpenXR loader.")
|
|||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'use-our-packages
|
||||
|
|
@ -2623,10 +2624,6 @@ and build scripts for the OpenXR loader.")
|
|||
"stb_image_write.h")
|
||||
(symlink (search-input-file inputs "include/catch.hpp")
|
||||
"catch.hpp")))
|
||||
(add-after 'install 'delete-static-lib
|
||||
(lambda _
|
||||
(delete-file (string-append #$output
|
||||
"/lib/libtinygltf.a"))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(if tests?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue