conan-io / hooks

Official Conan client hooks
MIT License
32 stars 46 forks source link

[conan-center] New KB-H077 - test whether shared libs on macOS are relocatable #477

Closed SpaceIm closed 1 year ago

SpaceIm commented 1 year ago

closes https://github.com/conan-io/hooks/issues/376

SpaceIm commented 1 year ago

I have this new hook in my conan cache currently, and I've built many conan-center recipes. It works fine so far (no false positive). For example I've been able to detect that patch allowing to install relocatable shared libs on macOS of latest gtsam version was illformed (it has not been properly written to do what patches of previous versions were doing, because upsteam maintainer has scattered the logic to remove in other files, leading to non-relocatable shared libs, but it's not something reviewers can easily see without this hook).