me
/
guix
Archived
1
0
Fork 0

gnu: python-libxml2: Fix build failure.

This is a follow-up to commit 7dfa2ff780.

* gnu/packages/xml.scm (python-libxml2)[arguments]: Provide correct directory
for libxml2 headers.
master
Marius Bakke 2022-06-27 20:34:33 +02:00
parent 6ee0f40e83
commit a83c462752
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 5 deletions

View File

@ -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")))