You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake's find_library can return a static library in some conditions
(certainly if the shared object isn't present; I'm not sure if there
are other conditions as well), which we don't support (and fails).
This improves the libpython detection by getting the shared library name
directly from Python rather than letting CMake guess (by prepending
`lib` and appending library suffixes).
This should, at least, prevent the embedded build from failing as in
issue pybind#1159 -- instead it should either find the proper shared library,
or else result in a compilation failure from the missing library.
0 commit comments