Skip to content

Commit

Permalink
gdal: building of tools is currently broken for shared=True
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Mar 26, 2024
1 parent 941aa57 commit b99758d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/gdal/post_3.5.0/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b99758d

Please sign in to comment.