summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-11-05 10:12:55 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-11-05 10:12:55 -0800
commit9474b8cdac433ccae4451c810fb7f4bb1bd1bd16 (patch)
tree360495586d5b9dc909c0a55ef8facc73884088e2
parent886861c9f4eda0f37902dc36ce45af1ba6105979 (diff)
parent618a1c7119245f7933f4fa0c49d3b2dde3c7cc45 (diff)
downloadspack-9474b8cdac433ccae4451c810fb7f4bb1bd1bd16.tar.gz
spack-9474b8cdac433ccae4451c810fb7f4bb1bd1bd16.tar.bz2
spack-9474b8cdac433ccae4451c810fb7f4bb1bd1bd16.tar.xz
spack-9474b8cdac433ccae4451c810fb7f4bb1bd1bd16.zip
Merge pull request #153 from ktkirk/libxml2
Was getting system python over spack python
-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")