summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libxml2/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libxslt/package.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py
index 04da5342bd..d6b3062010 100644
--- a/var/spack/repos/builtin/packages/libxml2/package.py
+++ b/var/spack/repos/builtin/packages/libxml2/package.py
@@ -26,7 +26,8 @@ class Libxml2(AutotoolsPackage):
depends_on('zlib')
depends_on('xz')
- extends('python+shared', when='+python',
+ depends_on('python+shared', when='+python')
+ extends('python', when='+python',
ignore=r'(bin.*$)|(include.*$)|(share.*$)|(lib/libxml2.*$)|'
'(lib/xml2.*$)|(lib/cmake.*$)')
diff --git a/var/spack/repos/builtin/packages/libxslt/package.py b/var/spack/repos/builtin/packages/libxslt/package.py
index 145e2313cb..486c931ba1 100644
--- a/var/spack/repos/builtin/packages/libxslt/package.py
+++ b/var/spack/repos/builtin/packages/libxslt/package.py
@@ -32,7 +32,8 @@ class Libxslt(AutotoolsPackage):
depends_on('zlib')
depends_on('libgcrypt', when='+crypto')
- extends('python+shared', when='+python')
+ depends_on('python+shared', when='+python')
+ extends('python', when='+python')
def configure_args(self):
args = []