-
Notifications
You must be signed in to change notification settings - Fork 202
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
CMake build doesn't set -fvisibility=hidden while Autotools does #691
Comments
Oops! I was vaguely aware of this from when I was doing some testing previously. I was lazy. When I added the CI checks for I'll add some tests and fix it. |
Sounds great, thanks! |
@diizzyy What did you observe that was a problem? The CMakeLists.txt file includes the following: When I run with verbose build I can see that |
Grr.. My build env had some unintended cruft, I re-checked and it works as intended. I apologize for the noise |
In #693 I added additional testing, to verify the contents of the .so files are as expected. This did actually discover an issue with the CMake build on Solaris, so I'm glad I did it. |
I'm going to assume that it has been overlooked, CMake provides a switch for this too.
https://cmake.org/cmake/help/latest/prop_tgt/LANG_VISIBILITY_PRESET.html can be used to toggle this
Tested on FreeBSD 14.2 (amd64) with PCRE2 10.45
The text was updated successfully, but these errors were encountered: