gobject-introspection: Fix inputs when cross-compiling.
* gnu/packages/glib.scm (gobject-introspection)[native-inputs]: Add 'bison' and 'flex' when cross-compiling. (gobject-introspection)[inputs]: Use 'python' instead of 'python-wrapper' when cross-compiling. Remove 'bison', 'flex' when cross-compiling.
This commit is contained in:
parent
c185e5ad67
commit
4ab2c0d600
@ -438,11 +438,19 @@ functions for strings and common data structures.")
|
|||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib" ,glib "bin")
|
`(("glib" ,glib "bin")
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)
|
||||||
|
;; TODO(core-updates): Unconditionally place "flex" and "bison"
|
||||||
|
;; in 'native-inputs'.
|
||||||
|
,@(if (%current-target-system)
|
||||||
|
`(("bison" ,bison)
|
||||||
|
("flex" ,flex))
|
||||||
|
'())))
|
||||||
(inputs
|
(inputs
|
||||||
`(("bison" ,bison)
|
`(,@(if (%current-target-system)
|
||||||
("flex" ,flex)
|
`(("python" ,python))
|
||||||
("python" ,python-wrapper)
|
`(("bison" ,bison)
|
||||||
|
("flex" ,flex)
|
||||||
|
("python" ,python-wrapper)))
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("glib" ,glib)
|
`(("glib" ,glib)
|
||||||
|
Loading…
Reference in New Issue
Block a user