summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-parser/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-xml-parser/package.py b/var/spack/repos/builtin/packages/perl-xml-parser/package.py
index 5ceb380473..23e1af9213 100644
--- a/var/spack/repos/builtin/packages/perl-xml-parser/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-parser/package.py
@@ -35,3 +35,13 @@ class PerlXmlParser(PerlPackage):
version('2.44', 'af4813fe3952362451201ced6fbce379')
depends_on('expat')
+
+ def configure_args(self):
+ args = []
+
+ p = self.spec['expat'].prefix.lib
+ args.append('EXPATLIBPATH={0}'.format(p))
+ p = self.spec['expat'].prefix.include
+ args.append('EXPATINCPATH={0}'.format(p))
+
+ return args