me
/
guix
Archived
1
0
Fork 0

gnu: poppler: Fix cross-compiling.

* gnu/packages/pdf.scm (poppler)[native-inputs]: When cross-compiling
add pkg-config-for-build.
Efraim Flashner 2023-10-15 13:06:03 +03:00
parent cee779c800
commit dc2cfc9bea
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 1 deletions

View File

@ -341,10 +341,14 @@ please install the @code{flyer-composer-gui} package.")))
;; different solution to the circular dependency mentioned above.
(list glib))
(native-inputs
(append
(list pkg-config
`(,glib "bin") ; glib-mkenums, etc.
gobject-introspection
python))
python)
(if (%current-target-system)
(list pkg-config-for-build)
'())))
(arguments
(list
;; The Poppler test suite needs to be downloaded separately and contains