mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
python3: avoid making python3 the default python command
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -132,9 +132,6 @@ define Build/InstallDev
|
|||||||
$(STAGING_DIR_HOST)/bin/python$(PYTHON_VERSION)-config \
|
$(STAGING_DIR_HOST)/bin/python$(PYTHON_VERSION)-config \
|
||||||
$(2)/bin/
|
$(2)/bin/
|
||||||
$(SED) 's,^#!.*,#!/usr/bin/env python$(PYTHON_VERSION),g' $(2)/bin/python$(PYTHON_VERSION)-config
|
$(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
|
endef
|
||||||
|
|
||||||
define PyPackage/python3/filespec
|
define PyPackage/python3/filespec
|
||||||
@@ -158,7 +155,6 @@ endef
|
|||||||
define PyPackage/python3/install
|
define PyPackage/python3/install
|
||||||
# Adding the lib-dynload folder (even just empty) suppresses 2 warnings when starting Python
|
# Adding the lib-dynload folder (even just empty) suppresses 2 warnings when starting Python
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/lib-dynload/
|
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/lib-dynload/
|
||||||
ln -sf python$(PYTHON_VERSION) $(1)/usr/bin/python
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Configure
|
define Host/Configure
|
||||||
|
|||||||
Reference in New Issue
Block a user