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

Fix SoapySDR::loadModule dlopen to hide symbols using RTLD_LOCAL #434

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

zuckschwerdt
Copy link
Member

Closes #430

This fixes module symbols polluting the namespace on MacOS. This change is already the default on Linux.

@guruofquality
Copy link
Contributor

I guess RTLD_LOCAL is the default when RTLD_GLOBAL is not specified https://www.man7.org/linux/man-pages/man3/dlopen.3.html

seems harmless enough for other platforms :-)

@zuckschwerdt zuckschwerdt merged commit 6c96090 into master Apr 10, 2024
92 of 122 checks passed
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.

Module loading issue related to differences in dlopen default flags in macOS and linux
2 participants