Browse Source

python3: avoid making python3 the default python command

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
parent
commit
9500f50f2b
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      lang/python3/Makefile

+ 0
- 4
lang/python3/Makefile View File

@ -132,9 +132,6 @@ define Build/InstallDev
$(STAGING_DIR_HOST)/bin/python$(PYTHON_VERSION)-config \
$(2)/bin/
$(SED) 's,^#!.*,#!/usr/bin/env python$(PYTHON_VERSION),g' $(2)/bin/python$(PYTHON_VERSION)-config
(cd $(2)/bin; \
ln -sf python$(PYTHON_VERSION)-config python-config;)
endef
define PyPackage/python3/filespec
@ -158,7 +155,6 @@ endef
define PyPackage/python3/install
# Adding the lib-dynload folder (even just empty) suppresses 2 warnings when starting Python
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/lib-dynload/
ln -sf python$(PYTHON_VERSION) $(1)/usr/bin/python
endef
define Host/Configure


Loading…
Cancel
Save