diff options
author | Christoph Junghans <christoph.junghans@gmail.com> | 2017-10-19 00:32:37 -0600 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-10-19 08:32:37 +0200 |
commit | 4774c9887e8fb7d62a096abde16bc75e7f2a43da (patch) | |
tree | 139835c64388cab65d977e9305be2839e4f5e682 /var | |
parent | 6642f62eb931ec3ae6555aecc80c695b6e678142 (diff) | |
download | spack-4774c9887e8fb7d62a096abde16bc75e7f2a43da.tar.gz spack-4774c9887e8fb7d62a096abde16bc75e7f2a43da.tar.bz2 spack-4774c9887e8fb7d62a096abde16bc75e7f2a43da.tar.xz spack-4774c9887e8fb7d62a096abde16bc75e7f2a43da.zip |
libxml2: use spack's xz (#5816)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libxml2/package.py | 11 |
1 files changed, 7 insertions, 4 deletions
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 |