Hi John, On 7 December 2016 at 02:06, John Zhang <John.Zhang@anu.edu.au> wrote:
I think we can include 'lib' in so_prefix of all Posix platforms, is that right?
I can’t seem to find a definitive answer for all POSIX platforms. But for all the ones that PyPy currently supports, I think the answer is true. So if you want to make the changes then I think it’s a reasonable assumption and a good idea.
Checked in 4b1508ade877.
On the other hand, I wonder if it’s also reasonable to modify the `_finish_linking` function to include `platform.so_prefix[0]` to the generated shared library name (see the attached patch).
It might or might not break stuff. ``.so`` files without the ``lib`` prefix exist and are generally useful. As far as it works this way, I'd be wary of changes. A bientôt, Armin.