meta-ros/recipes-devtools/python/python3_%.bbappend

9 lines
333 B
Plaintext

inherit update-alternatives
ALTERNATIVE_PRIORITY = "80"
ALTERNATIVE_${PN}-core = "python python_config"
ALTERNATIVE_LINK_NAME[python] = "${bindir}/python"
ALTERNATIVE_LINK_NAME[python_config] = "${bindir}/python-config"
ALTERNATIVE_TARGET[python] = "${bindir}/python3"
ALTERNATIVE_TARGET[python_config] = "${bindir}/python3-config"