summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2019-08-27 10:29:01 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2019-08-27 09:29:01 -0600
commitdce9fc4d633e28dcdf106c44ea6d308b927e51e3 (patch)
treec6549db08ebe32e575bd3c7db1c7049ead6b8370
parent4b767b83a9d742483a9ef788c835aea4357e79c4 (diff)
downloadspack-dce9fc4d633e28dcdf106c44ea6d308b927e51e3.tar.gz
spack-dce9fc4d633e28dcdf106c44ea6d308b927e51e3.tar.bz2
spack-dce9fc4d633e28dcdf106c44ea6d308b927e51e3.tar.xz
spack-dce9fc4d633e28dcdf106c44ea6d308b927e51e3.zip
libxml2: pass location for libiconv to build system (#12588)
-rw-r--r--var/spack/repos/builtin/packages/libxml2/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py
index 9c0dc9fdbe..e95b7101bc 100644
--- a/var/spack/repos/builtin/packages/libxml2/package.py
+++ b/var/spack/repos/builtin/packages/libxml2/package.py
@@ -47,7 +47,8 @@ class Libxml2(AutotoolsPackage):
def configure_args(self):
spec = self.spec
- args = ['--with-lzma={0}'.format(spec['xz'].prefix)]
+ args = ['--with-lzma={0}'.format(spec['xz'].prefix),
+ '--with-iconv={0}'.format(spec['libiconv'].prefix)]
if '+python' in spec:
args.extend([