gnu: libxslt: Really allow cross-compilation.
Commit af916f3f8b
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.
master
parent
9aac443dc9
commit
0bd40ca9a9
|
@ -353,13 +353,9 @@ formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
;; 'configure.ac' uses 'AM_PATH_PYTHON', which looks for
|
;; 'configure.ac' uses 'AM_PATH_PYTHON', which looks for
|
||||||
;; 'python' in $PATH, even though it's only used in the shebang
|
;; 'python' in $PATH and tries to run it. Skip all that when
|
||||||
;; of examples. Thus, when cross-compiling, set 'PYTHON' so
|
;; cross-compiling.
|
||||||
;; that 'configure' doesn't search $PATH.
|
#~'("--without-python")
|
||||||
#~(list (string-append "PYTHON="
|
|
||||||
#$(this-package-input
|
|
||||||
"python-minimal-wrapper")
|
|
||||||
"/bin/python"))
|
|
||||||
#~'())))
|
#~'())))
|
||||||
(home-page "http://xmlsoft.org/XSLT/index.html")
|
(home-page "http://xmlsoft.org/XSLT/index.html")
|
||||||
(synopsis "C library for applying XSLT stylesheets to XML documents")
|
(synopsis "C library for applying XSLT stylesheets to XML documents")
|
||||||
|
|
Reference in New Issue