summaryrefslogtreecommitdiff
path: root/lang/python/files/python-package-dev.mk
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-03-16 21:52:51 +0200
committerGitHub <noreply@github.com>2017-03-16 21:52:51 +0200
commit05a1aa9e2edb5ffd323edfa018cb1c63ede7978b (patch)
treec15c5e40978bfd5064b05b1c1bbbc3e390773f8b /lang/python/files/python-package-dev.mk
parent358a374a3ac2653c019905041f28205eb477dc26 (diff)
parent9f7235e42a508cd7ee2e2c121f24010e2dd7ec7c (diff)
Merge pull request #4130 from commodo/python-package-src
python, python3: ship packages with byte-codes and derive python source packages
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, \