mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 14:58:21 +04:00
python: fix intermitent build failure
Fixes: https://github.com/openwrt/packages/issues/4548 When running parallel jobs, there are chances that the Build/InstallDev rule may run before the Host/Install rule and fail the build. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
committed by
Yousong Zhou
parent
2705d032bb
commit
1588b532fb
@@ -192,12 +192,6 @@ endef
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/ $(1)/usr/lib/pkgconfig
|
||||
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/
|
||||
$(INSTALL_DATA) \
|
||||
./files/python-package.mk \
|
||||
./files/python-host.mk \
|
||||
./files/python-version.mk \
|
||||
./files/python-package-install.sh \
|
||||
$(STAGING_DIR)/mk/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
||||
$(1)/usr/include/
|
||||
|
||||
Reference in New Issue
Block a user