summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/packages/libxml2/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/packages/libxml2/package.py b/var/spack/packages/libxml2/package.py
index 3a0af6b368..df311bfaba 100644
--- a/var/spack/packages/libxml2/package.py
+++ b/var/spack/packages/libxml2/package.py
@@ -14,7 +14,8 @@ class Libxml2(Package):
depends_on('xz')
def install(self, spec, prefix):
- configure("--prefix=%s" % prefix)
+ configure("--prefix=%s" % prefix,
+ "--with-python=%s" % spec['python'].prefix)
make()
make("install")