guix-devel
[Top][All Lists]
Advanced

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

[PATCH 1/5] gnu: libxml2: Fixed cross-compilation.


From: John Darrington
Subject: [PATCH 1/5] gnu: libxml2: Fixed cross-compilation.
Date: Sat, 14 Dec 2013 18:43:18 +0100

* gnu/packages/xml.scm (libxml2): [(eq? (%current-target-system) #f)] assign 
"cross-libc"
  to the variable glibc
---
 gnu/packages/xml.scm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index e2bab7b..a5b8c78 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -75,7 +75,7 @@ things the parser might find in the XML document (like start 
tags).")
          'install
          (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
           (let ((install (assoc-ref %standard-phases 'install))
-                (glibc (assoc-ref inputs "libc"))
+                (glibc (assoc-ref inputs ,(if (%current-target-system) 
"cross-libc" "libc")))
                 (out (assoc-ref outputs "out")))
             (apply install args)
             (chdir "python")
-- 
1.7.10.4




reply via email to

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