gnu: libxslt: Really allow cross-compilation.
Commit af916f3f8b5e1191cdcc95dded1e376f51ad9e9b led './configure' to attempt to run a non-native 'python' binary, which would fail unless transparent binfmt_misc QEMU emulation is set up. * gnu/packages/xml.scm (libxslt)[arguments]: Replace #:configure-flags with "--disable-python" when cross-compiling.
This commit is contained in:
parent
9aac443dc9
commit
0bd40ca9a9
@ -353,13 +353,9 @@ formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
|
||||
#:configure-flags
|
||||
(if (%current-target-system)
|
||||
;; 'configure.ac' uses 'AM_PATH_PYTHON', which looks for
|
||||
;; 'python' in $PATH, even though it's only used in the shebang
|
||||
;; of examples. Thus, when cross-compiling, set 'PYTHON' so
|
||||
;; that 'configure' doesn't search $PATH.
|
||||
#~(list (string-append "PYTHON="
|
||||
#$(this-package-input
|
||||
"python-minimal-wrapper")
|
||||
"/bin/python"))
|
||||
;; 'python' in $PATH and tries to run it. Skip all that when
|
||||
;; cross-compiling.
|
||||
#~'("--without-python")
|
||||
#~'())))
|
||||
(home-page "http://xmlsoft.org/XSLT/index.html")
|
||||
(synopsis "C library for applying XSLT stylesheets to XML documents")
|
||||
|
Loading…
x
Reference in New Issue
Block a user