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

SONAME fails to match library name #785

Closed
tim-janik opened this issue Sep 14, 2016 · 0 comments
Closed

SONAME fails to match library name #785

tim-janik opened this issue Sep 14, 2016 · 0 comments

Comments

@tim-janik
Copy link

The shared_library argument name_prefix that can be used to e.g. strip 'lib' from the library name of a dynamic module isn't reflected in the actual SONAME. Linker lookups rely on SONAME to match library file names, so this potentially breaks DSO dependencies. A test case exists already in 'meson/test cases/python3/2 extmodule':

test cases/python3/2 extmodule>$ mkdir b && meson.py b && ninja -C b && objdump -p b/ext/tachyon.so | fgrep SONAME
[...]
[2/2] Linking target ext/tachyon.so
SONAME libtachyon.so

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

No branches or pull requests

1 participant