summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-04-15 19:38:56 +0200
committerGitHub <noreply@github.com>2024-04-15 10:38:56 -0700
commit5d6b5f3f6f79b8a62ec853ae9fd659ecb1852b07 (patch)
tree64c6817dec7adf322ebea3e9473343c82475d5f6
parent2351c1948916eee88776e87ff502e41403a546ee (diff)
downloadspack-5d6b5f3f6f79b8a62ec853ae9fd659ecb1852b07.tar.gz
spack-5d6b5f3f6f79b8a62ec853ae9fd659ecb1852b07.tar.bz2
spack-5d6b5f3f6f79b8a62ec853ae9fd659ecb1852b07.tar.xz
spack-5d6b5f3f6f79b8a62ec853ae9fd659ecb1852b07.zip
GDAL: fix MDB build (#43665)
-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):