From 4774c9887e8fb7d62a096abde16bc75e7f2a43da Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Thu, 19 Oct 2017 00:32:37 -0600 Subject: libxml2: use spack's xz (#5816) --- var/spack/repos/builtin/packages/libxml2/package.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py index 2ec64006c9..d806544be2 100644 --- a/var/spack/repos/builtin/packages/libxml2/package.py +++ b/var/spack/repos/builtin/packages/libxml2/package.py @@ -48,12 +48,15 @@ class Libxml2(AutotoolsPackage): def configure_args(self): spec = self.spec + + args = ["--with-lzma=%s" % spec['xz'].prefix] + if '+python' in spec: - python_args = [ + args.extend([ '--with-python={0}'.format(spec['python'].home), '--with-python-install-dir={0}'.format(site_packages_dir) - ] + ]) else: - python_args = ['--without-python'] + args.append('--without-python') - return python_args + return args -- cgit v1.2.3-70-g09d2