mirror of
https://github.com/openwrt/packages.git
synced 2025-12-20 01:21:21 +00:00
python3: Centralize config file adjustments in Build/Install
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b595362b85)
This commit is contained in:
@@ -24,9 +24,6 @@ define Py3Package/python3-dev/install
|
||||
$(LN) python$(PYTHON3_VERSION)-config $(1)/usr/bin/python3-config
|
||||
$(LN) python$(PYTHON3_VERSION)-config $(1)/usr/bin/python-config
|
||||
$(LN) python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION)/libpython$(PYTHON3_VERSION).a $(1)/usr/lib/
|
||||
# This depends on being called before filespec is processed
|
||||
$(SED) 's|$(TARGET_AR)|ar|g;s|$(TARGET_CROSS)readelf|readelf|g;s|$(TARGET_CC)|gcc|g;s|$(TARGET_CXX)|g++|g' \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON3_VERSION)/config-$(PYTHON3_VERSION)/Makefile
|
||||
endef
|
||||
|
||||
$(eval $(call Py3BasePackage,python3-dev, \
|
||||
|
||||
Reference in New Issue
Block a user