From 01878076213d120e1d7ae84d5431e1ad3cc6603e Mon Sep 17 00:00:00 2001
From: plamborn <plamborn@lanl.gov>
Date: Sat, 29 Feb 2020 06:25:21 -0700
Subject: [PATCH] libhio: specify use of external json (#15209)

libhio has been building it's own json.  With this change, libhio will rely on the json installed by spack.
---
 var/spack/repos/builtin/packages/libhio/package.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/var/spack/repos/builtin/packages/libhio/package.py b/var/spack/repos/builtin/packages/libhio/package.py
index 42ef377a5a..dc044d0587 100644
--- a/var/spack/repos/builtin/packages/libhio/package.py
+++ b/var/spack/repos/builtin/packages/libhio/package.py
@@ -57,4 +57,6 @@ def configure_args(self):
         if '+hdf5' in spec:
             args.append('--with-hdf5={0}'.format(spec['hdf5'].prefix))
 
+        args.append('--with-external-json={0}'.format(spec['json-c'].prefix))
+
         return args
-- 
GitLab