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.
This commit is contained in:
parent
9aac443dc9
commit
0bd40ca9a9
1 changed files with 3 additions and 7 deletions
|
@ -353,13 +353,9 @@ (define-public libxslt
|
|||
#: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…
Reference in a new issue