SONAME fails to match library name #785

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


None yet

1 participant


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 && b && ninja -C b && objdump -p b/ext/ | fgrep SONAME
[2/2] Linking target ext/

@jpakkane jpakkane closed this in 4dc798d Oct 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment