mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: polkit: Prevent cross-compilation build error.
Alternative ‘os types’ include RedHat and Gentoo, which don't seem applicable. * gnu/packages/polkit.scm (polkit)[arguments]<#:configure-flags>: Set "--with-os-type" to "unknown".
This commit is contained in:
parent
499dbe0f3c
commit
a1b3597ab8
1 changed files with 6 additions and 1 deletions
|
@ -101,7 +101,12 @@ (define-public polkit
|
|||
("gobject-introspection" ,gobject-introspection)))
|
||||
(arguments
|
||||
`(#:configure-flags '("--sysconfdir=/etc"
|
||||
"--enable-man-pages")
|
||||
"--enable-man-pages"
|
||||
;; Prevent ‘configure: error: cannot check for
|
||||
;; file existence when cross compiling’.
|
||||
,@(if (%current-target-system)
|
||||
'("--with-os-type=unknown")
|
||||
'()))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
|
|
Loading…
Reference in a new issue