Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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.

Closes #430

Co-authored-by: Niro Mahasinghe <npm-sdr@users.noreply.github.com>
@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
# for free to join this conversation on GitHub. Already have an account? # 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