diff pkg-plist @ 34:0ba8512ad4c5

Introduce the PYPY_LDLIBRARY make variable to name the generated PyPy shared library. This is needed because PyPy3.9 will have names with the minor version in it (e.g. libpypy3.9-c.so instead of libpypy3-c.so). This is a precondition for side-by-side installations of PyPy3 implementing different Python versions (currently 3.7, 3.8 or 3.9).
author Franz Glasner <f.glasner@feldmann-mg.com>
date Thu, 06 Oct 2022 12:35:52 +0200
parents c269f1e91387
children fbd13af3b578
line wrap: on
line diff
--- a/pkg-plist	Thu Oct 06 11:38:05 2022 +0200
+++ b/pkg-plist	Thu Oct 06 12:35:52 2022 +0200
@@ -1,7 +1,7 @@
 bin/pypy
 %%PYPY_DIR%%/LICENSE
 %%PYPY_DIR%%/README.rst
-%%PYPY_DIR%%/bin/libpypy-c.so
+%%PYPY_DIR%%/bin/%%PYPY_LDLIBRARY%%
 %%PYPY_DIR%%/bin/pypy
 %%PYPY_DIR%%/bin/pypy2
 %%PYPY_DIR%%/bin/pypy2.7