guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/12: gnu: poppler: Fix cross-compiling.


From: guix-commits
Subject: 05/12: gnu: poppler: Fix cross-compiling.
Date: Sun, 15 Oct 2023 06:15:56 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit dc2cfc9bea6f79095fdf363362823c0eabb95022
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:06:03 2023 +0300

    gnu: poppler: Fix cross-compiling.
    
    * gnu/packages/pdf.scm (poppler)[native-inputs]: When cross-compiling
    add pkg-config-for-build.
---
 gnu/packages/pdf.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index d561f73dbd..378655a70f 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]