Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdal: add 3.2.3 & 3.4.1 + keep last patch version of each minor version + modernize #8635

Merged
merged 10 commits into from
Feb 28, 2022
Prev Previous commit
fix all shared on macOS
  • Loading branch information
SpaceIm committed Feb 26, 2022
commit fde36dee223125ce35f574d6b48f75e8e259fe4f
8 changes: 8 additions & 0 deletions recipes/gdal/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,14 @@ def build(self):
tools.replace_in_file("configure",
"-install_name \\$rpath/",
"-install_name @rpath/")
# avoid SIP issues on macOS when dependencies are shared
if tools.is_apple_os(self.settings.os):
libpaths = ":".join(self.deps_cpp_info.lib_paths)
tools.replace_in_file(
"configure",
"#! /bin/sh\n",
"#! /bin/sh\nexport DYLD_LIBRARY_PATH={}:$DYLD_LIBRARY_PATH\n".format(libpaths),
)
autotools = self._configure_autotools()
autotools.make()

Expand Down