Need to help Makefile.PL find the expat bits (#4422)
* Need to help Makefile.PL find the expat bits We need to provide Makefile.PL with a clue about where our expat bits live. We had the dependency, but I suspect that the lib was actually linking against a system version. * Use prefix.lib instead of building path myself Ditto with .include
This commit is contained in:
parent
6b9d485e06
commit
baad627944
@ -35,3 +35,13 @@ class PerlXmlParser(PerlPackage):
|
|||||||
version('2.44', 'af4813fe3952362451201ced6fbce379')
|
version('2.44', 'af4813fe3952362451201ced6fbce379')
|
||||||
|
|
||||||
depends_on('expat')
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user