Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmake build invokes ldconfig #1048
The cmake build invokes ldconfig. This is more or less a Linux thing, so it's odd that a build for Mac and Windows invokes it, but that's not important.
Invoking ldconfig is nonportable, and it's also tricky on Linux. Most packages don't call ldconfig, and a normal expectation would be for that to happen outside of package building or package installation.
If ldconfig is going to be run, it needs to be guarded so that all of the following are true:
Overall, I would suggest entirely removing it.