mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 15:37:54 -05:00
gnu: graphene: Don't build introspection data when cross-compiling.
* gnu/packages/gtk.scm (graphene)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling.
This commit is contained in:
parent
0d7888acf0
commit
9e6b25505a
1 changed files with 5 additions and 1 deletions
|
@ -2291,7 +2291,11 @@ (define-public graphene
|
||||||
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list
|
(list
|
||||||
"-Dinstalled_tests=false")))
|
"-Dinstalled_tests=false"
|
||||||
|
,@(if (%current-target-system)
|
||||||
|
;; Introspection requires running binaries for 'host' on 'build'.
|
||||||
|
'("-Dintrospection=false")
|
||||||
|
'()))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("git" ,git-minimal)
|
`(("git" ,git-minimal)
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
|
Loading…
Reference in a new issue