diff --git a/package/python3/python3.mk b/package/python3/python3.mk index d49fe4860b..ba72e75329 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -159,5 +159,11 @@ ifneq ($(BR2_PACKAGE_PYTHON),y) PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_INSTALL_SYMLINK endif +define HOST_PYTHON3_INSTALL_SYMLINK + ln -fs python3 $(HOST_DIR)/usr/bin/python +endef + +HOST_PYTHON3_POST_INSTALL_HOOKS += HOST_PYTHON3_INSTALL_SYMLINK + $(eval $(autotools-package)) $(eval $(host-autotools-package))