Fix build of xerces-c (#7611)
The build requires libiconv (but it doesn't find it when not providing LDFLAGS).
This commit is contained in:
parent
c328c667c0
commit
58a57bf391
1 changed files with 5 additions and 0 deletions
|
@ -37,5 +37,10 @@ class XercesC(AutotoolsPackage):
|
||||||
|
|
||||||
version('3.1.4', 'd04ae9d8b2dee2157c6db95fa908abfd')
|
version('3.1.4', 'd04ae9d8b2dee2157c6db95fa908abfd')
|
||||||
|
|
||||||
|
depends_on('libiconv')
|
||||||
|
|
||||||
|
def setup_environment(self, spack_env, run_env):
|
||||||
|
spack_env.append_flags('LDFLAGS', self.spec['libiconv'].libs.ld_flags)
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
return ['--disable-network']
|
return ['--disable-network']
|
||||||
|
|
Loading…
Reference in a new issue