summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChristoph Junghans <christoph.junghans@gmail.com>2017-10-19 00:32:37 -0600
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-10-19 08:32:37 +0200
commit4774c9887e8fb7d62a096abde16bc75e7f2a43da (patch)
tree139835c64388cab65d977e9305be2839e4f5e682 /var
parent6642f62eb931ec3ae6555aecc80c695b6e678142 (diff)
downloadspack-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.py11
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