diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb index ef2f01fd46..310694ade7 100644 --- a/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb @@ -28,7 +28,8 @@ RDEPENDS:${PN}-ptest += " \ export LINK_SYSTEM_LIBGPIOD = "1" do_compile_ptest() { - ${STAGING_BINDIR_NATIVE}/python3-native/python3 build_tests.py + setup_target_config + nativepython3 build_tests.py } do_install_ptest() {