mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-03 18:09:18 -05:00
gnu: qpdf: Fix cross-building.
* gnu/packages/pdf.scm (qpdf)[arguments]: When cross-building add configure-flags to set /dev/random and /dev/urandom as existing.
This commit is contained in:
parent
54372b289a
commit
4f7a0695ca
1 changed files with 7 additions and 1 deletions
|
@ -910,7 +910,13 @@ (define-public qpdf
|
|||
"0yw2cpw7ygfd6jlgpwbi8vsnvv9p55zxp9h17x77z2qq733pf8jx"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:disallowed-references (,perl)
|
||||
`(#:configure-flags '(,@(if (%current-target-system)
|
||||
;; We cannot check for these devices
|
||||
;; when cross compiling.
|
||||
`("ac_cv_file__dev_random=yes"
|
||||
"ac_cv_file__dev_urandom=yes")
|
||||
'()))
|
||||
#:disallowed-references (,perl)
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'patch-paths
|
||||
|
|
Loading…
Reference in a new issue