summaryrefslogtreecommitdiff
path: root/lang/python/files/python-package-dev.mk
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2017-03-07 12:23:47 +0200
committerAlexandru Ardelean <ardeleanalex@gmail.com>2017-03-09 09:23:10 +0200
commit6c4dcf44463ceeba41dff37268b68260286133b5 (patch)
treefab3695987d8a41f326d2ddf174b940cdd602ab2 /lang/python/files/python-package-dev.mk
parentdf0d0bcc0016866fce67dd04d01e1fc350ddf152 (diff)
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>
Diffstat (limited to 'lang/python/files/python-package-dev.mk')
-rw-r--r--lang/python/files/python-package-dev.mk4
1 files changed, 2 insertions, 2 deletions
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, \