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

Optionally hide symbols from export #5

Merged
merged 5 commits into from
Sep 14, 2024
Merged

Optionally hide symbols from export #5

merged 5 commits into from
Sep 14, 2024

Conversation

JamesPiechota
Copy link

@JamesPiechota JamesPiechota commented Sep 14, 2024

Can instruct cmake to include the -fvisibility=hidden flag

This is necessary to allow multiple versions of the librandomx.a static library to be linked to different shared libraries on OSX/Macos. It doesn't seem to be necessary on linux, but does not hurt.

@JamesPiechota JamesPiechota changed the title Jp/debug Optionally hide symbols from export Sep 14, 2024
@JamesPiechota JamesPiechota merged commit c6b1d6e into master2 Sep 14, 2024
20 of 21 checks passed
JamesPiechota added a commit that referenced this pull request Sep 14, 2024
Can instruct cmake to include the -fvisibility=hidden flag

This is necessary to allow multiple versions of the librandomx.a static library to be linked to different shared libraries on OSX/Macos. It doesn't seem to be necessary on linux, but does not hurt.
JamesPiechota added a commit that referenced this pull request Sep 14, 2024
Can instruct cmake to include the -fvisibility=hidden flag

This is necessary to allow multiple versions of the librandomx.a static library to be linked to different shared libraries on OSX/Macos. It doesn't seem to be necessary on linux, but does not hurt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants