Browse Source

python3: make sure $(1)/usr/lib path exists for python3-dev package

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 8 years ago
parent
commit
a85b0b6b57
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lang/python3/files/python3-package-dev.mk

+ 2
- 2
lang/python3/files/python3-package-dev.mk View File

@ -12,10 +12,10 @@ $(call Package/python3/Default)
endef
define Py3Package/python3-dev/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/bin/python$(PYTHON3_VERSION)-config $(1)/usr/bin
$(LN) python$(PYTHON3_VERSION)-config $(1)/usr/bin/python3-config
$(LN) python$(PYTHON_VERSION)/config-$(PYTHON_VERSION)/libpython$(PYTHON3_VERSION).a $(1)/usr/lib/libpython$(PYTHON3_VERSION).a
$(LN) python$(PYTHON_VERSION)/config-$(PYTHON_VERSION)/libpython$(PYTHON3_VERSION).a $(1)/usr/lib/
endef
$(eval $(call Py3BasePackage,python3-dev, \


Loading…
Cancel
Save