From a83c462752649b058bef00bd3207451048f7d75e Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 27 Jun 2022 20:34:33 +0200 Subject: gnu: python-libxml2: Fix build failure. This is a follow-up to commit 7dfa2ff7804b4d4ffb4c256c5aaea92b2487b369. * gnu/packages/xml.scm (python-libxml2)[arguments]: Provide correct directory for libxml2 headers. --- gnu/packages/xml.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 5ce2b140a7..9435e21d92 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -316,12 +316,9 @@ formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.") "cross-libc" "libc"))) (libxml2 (assoc-ref inputs "libxml2"))) (substitute* "setup.py" - ;; For 'libxml2/libxml/tree.h'. - (("ROOT = r'/usr'") - (format #f "ROOT = r'~a'" libxml2)) - ;; For 'iconv.h'. + ;; For libxml2 headers. (("/opt/include") - (string-append glibc "/include"))))))))) + (string-append libxml2 "/include"))))))))) (inputs `(("libxml2" ,libxml2))) (synopsis "Python bindings for the libxml2 library"))) -- cgit v1.2.3