3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01: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:
Maxime Devos 2021-08-24 11:27:47 +02:00 committed by Mathieu Othacehe
parent 499dbe0f3c
commit a1b3597ab8
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -101,7 +101,12 @@
("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