packages/lang/python/python3
Jeffery To 6ce32c3b5e
python3: Fix target python-config when building on macOS
The Python version of python-config is installed when building on macOS,
rather than the shell script version when building on Linux. When run on
macOS, the Python version of python-config will return values with
Mac-specific customizations.

This patches the python-config install recipe so that which version is
installed can be controlled by the package makefile. When building on
macOS, this installs the Python version for host Python and the shell
script version for target Python.

This also updates Host/Compile and Host/Install to use the default host
build recipes, so that the various HOST_* variables are taken into
account automatically.

Fixes https://github.com/openwrt/packages/issues/14652

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 18330902a0)
2021-02-22 22:09:54 +08:00
..
files python3: bump to version 3.9.0 2020-10-19 11:01:12 +03:00
patches python3: Fix target python-config when building on macOS 2021-02-22 22:09:54 +08:00
patches-pip python3: Update to 3.8.4, refresh/rework patches, backport patches 2020-07-20 17:30:14 +08:00
patches-setuptools python3: bump to version 3.9.0 2020-10-19 11:01:12 +03:00
Config-python3-light.in python3: Add config PYTHON3_HOST_PIP_CACHE_WORLD_READABLE 2020-08-16 06:09:45 +08:00
Makefile python3: Fix target python-config when building on macOS 2021-02-22 22:09:54 +08:00