summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/gdal/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py
index 42653db400..6178a78843 100644
--- a/var/spack/repos/builtin/packages/gdal/package.py
+++ b/var/spack/repos/builtin/packages/gdal/package.py
@@ -491,6 +491,7 @@ class Gdal(CMakePackage, AutotoolsPackage, PythonExtension):
def patch(self):
if "+java platform=darwin" in self.spec:
filter_file("linux", "darwin", "swig/java/java.opt", string=True)
+ filter_file("-lazy-ljvm", "-ljvm", "configure", string=True)
class CMakeBuilder(CMakeBuilder):