mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
python3: fixup python-package.mk include
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
# The file included below defines PYTHON_VERSION
|
||||
-include $(if $(DUMP),,./files/python-package.mk)
|
||||
-include $(if $(DUMP),,./files/python3-package.mk)
|
||||
|
||||
PKG_NAME:=python3
|
||||
PKG_RELEASE:=1
|
||||
@@ -116,7 +116,7 @@ endef
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib
|
||||
$(INSTALL_DIR) $(STAGING_DIR)/mk/
|
||||
$(INSTALL_DATA) ./files/python-package.mk $(STAGING_DIR)/mk/
|
||||
$(INSTALL_DATA) ./files/python3-package.mk $(STAGING_DIR)/mk/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
||||
$(1)/usr/include/
|
||||
|
||||
Reference in New Issue
Block a user