summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
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