From: Alexandru Ardelean Date: Tue, 7 Mar 2017 10:23:47 +0000 (+0200) Subject: python: fix python-dev clash with python-base X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6c4dcf44463ceeba41dff37268b68260286133b5;p=openwrt-packages.git python: fix python-dev clash with python-base Both want to install libpython.so. python-dev should install libpython.a Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/files/python-package-dev.mk b/lang/python/files/python-package-dev.mk index 647f649f7..7c9e21980 100644 --- a/lang/python/files/python-package-dev.mk +++ b/lang/python/files/python-package-dev.mk @@ -12,9 +12,9 @@ $(call Package/python/Default) endef define PyPackage/python-dev/install - $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/bin/python*config $(1)/usr/bin - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/config/libpython$(PYTHON_VERSION).a $(1)/usr/lib endef $(eval $(call PyBasePackage,python-dev, \