]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
python3.mk: add python symlink
authorMarkham <markham001@gmx.de>
Sun, 3 Mar 2024 21:57:57 +0000 (22:57 +0100)
committerMarkham <markham001@gmx.de>
Sun, 3 Mar 2024 21:57:57 +0000 (22:57 +0100)
make/python3.mk

index d611d332e7a63d878fe4712d587e0719d0136f6e..e63d8a82023eba3672acdee7f392575497e43274 100644 (file)
@@ -74,6 +74,8 @@ $(D)/python3: $(D)/host_python3 $(D)/libffi $(D)/expat $(ARCHIVE)/Python-$(PYTHO
                rm -rf $(TARGETPREFIX)/usr/lib/python$(PYTHON3_VER_MAJOR)/config-$(PYTHON3_VER_MAJOR)*
                chmod u+w $(TARGETPREFIX)/usr/lib/libpython$(PYTHON3_VER_MAJOR)*.so*
                install -m 0755 $(BASE_DIR)/scripts/python-venv $(TARGETPREFIX)/usr/bin
+       pushd $(TARGETPREFIX)/usr/bin
+               ln -sf python3 $(TARGETPREFIX)/usr/bin/python
        $(REMOVE)/Python-$(PYTHON3_VER)
        $(TOUCH)