-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
no libdl nor librt on OpenBSD #5390
Comments
AFAIK the only platform still using I thought about checking whether the actual files exist but then realized that every OS and distro puts them in a different directory so reliably checking for that would be a nightmare. :( |
Hi @jpakkane . Thanks for the fast feedback :-) |
POSIX states that these libraries ( If this doesn't work on OpenBSD, that is an OpenBSD bug. |
Meson will try to pass the Either way, for general portability reasons it turns out that actually passing the appropriate command-line argument doesn't work for non-POSIX systems, such as Windows. :( The general recommendation is to use |
Hi.
The unit tests use a few of -ldl and -lrt:
These libraries don't exist and aren't needed on (at least) OpenBSD.
I am not sure what the best course of action is to fix the tests. Choose libraries that we know are part of all Unix-like systems or make an exception for BSDs?
For example, in
test_compiler_libs_static_dedup
I could change this line:so that it includes only existing libraries but before doing an exception, I'd rather have your input.
Thank you :-)
The text was updated successfully, but these errors were encountered: