gnu: polkit: Fix cross-compilation.
This is a follow-up to commit e8f4e18085
.
* gnu/packages/polkit.scm (polkit)[arguments]: Pass -Dintrospection instead of
-Dos-type when cross-compiling.
This commit is contained in:
parent
f3938c9155
commit
d54e537390
1 changed files with 7 additions and 4 deletions
|
@ -82,11 +82,14 @@ (define-public polkit
|
|||
#~(list "--sysconfdir=/etc"
|
||||
"-Dman=true"
|
||||
"-Dtests=true"
|
||||
;; ERROR: Pkg-config binary for machine
|
||||
;; MachineChoice.BUILD not found, giving up. Just
|
||||
;; disable introspection for now.
|
||||
;; Work around cross-compilation failure. The build system
|
||||
;; probes for the _target_ gobject-introspection, but if we
|
||||
;; change it to native, Meson fails with:
|
||||
;; ERROR: Pkg-config binary for machine
|
||||
;; MachineChoice.BUILD not found, giving up.
|
||||
;; Just disable introspection for now.
|
||||
#$@(if (%current-target-system)
|
||||
'("-Dos-type=unknown")
|
||||
'("-Dintrospection=false")
|
||||
'()))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue