mirror of
https://github.com/openwrt/packages.git
synced 2026-10-25 16:33:18 +04:00
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 <ardeleanalex@gmail.com>
This commit is contained in:
1 parent
df0d0bcc00
commit
6c4dcf4446
1 file changed
+2
-2
@@ -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, \
|
||||
|
||||
Reference in new issue
Block a user