summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/jasper/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/jasper/package.py b/var/spack/repos/builtin/packages/jasper/package.py
index e818f8dc0a..c2214a0d68 100644
--- a/var/spack/repos/builtin/packages/jasper/package.py
+++ b/var/spack/repos/builtin/packages/jasper/package.py
@@ -57,6 +57,11 @@ class Jasper(Package):
else:
args.append('-DJAS_ENABLE_SHARED=false')
+ # The default is ON from version 3.x, OFF for 2.x.
+ # packages like eccodes rely on those symbols.
+ # Force the same default here.
+ args.append('-DJAS_ENABLE_HIDDEN=OFF')
+
return args
def configure_args(self):