gnu: poppler: Fix cross-compiling.
* gnu/packages/pdf.scm (poppler)[native-inputs]: When cross-compiling add pkg-config-for-build.
This commit is contained in:
parent
cee779c800
commit
dc2cfc9bea
1 changed files with 5 additions and 1 deletions
|
@ -341,10 +341,14 @@ (define-public poppler
|
||||||
;; different solution to the circular dependency mentioned above.
|
;; different solution to the circular dependency mentioned above.
|
||||||
(list glib))
|
(list glib))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
(append
|
||||||
(list pkg-config
|
(list pkg-config
|
||||||
`(,glib "bin") ; glib-mkenums, etc.
|
`(,glib "bin") ; glib-mkenums, etc.
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
python))
|
python)
|
||||||
|
(if (%current-target-system)
|
||||||
|
(list pkg-config-for-build)
|
||||||
|
'())))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; The Poppler test suite needs to be downloaded separately and contains
|
;; The Poppler test suite needs to be downloaded separately and contains
|
||||||
|
|
Loading…
Reference in a new issue