From b99758d0ddaf1648569416062976bb6077ee96bc Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Tue, 26 Mar 2024 18:09:08 +0200 Subject: [PATCH] gdal: building of tools is currently broken for shared=True --- recipes/gdal/post_3.5.0/conanfile.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/gdal/post_3.5.0/conanfile.py b/recipes/gdal/post_3.5.0/conanfile.py index e73d5e417d3505..f1ee5ddbb009ef 100644 --- a/recipes/gdal/post_3.5.0/conanfile.py +++ b/recipes/gdal/post_3.5.0/conanfile.py @@ -339,6 +339,11 @@ def validate(self): self.output.error(msg) raise ConanInvalidConfiguration(msg) + if self.options.tools and self.options.shared: + # FIXME: probably also broken for shared dependencies + # None of the deps are linked correctly for shared builds, probably due to CMake visibility issues. + raise ConanInvalidConfiguration("Building of tools is currently broken shared=True") + def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True)