diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass index d7b2d357e9..ef468b3fde 100644 --- a/meta/classes/python3native.bbclass +++ b/meta/classes/python3native.bbclass @@ -2,7 +2,7 @@ inherit python3-dir PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" EXTRANATIVEPATH += "${PYTHON_PN}-native" -DEPENDS += " ${PYTHON_PN}-native " +DEPENDS_append = " ${PYTHON_PN}-native " # python-config and other scripts are using distutils modules # which we patch to access these variables diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass index bd239fa792..4e0381b568 100644 --- a/meta/classes/pythonnative.bbclass +++ b/meta/classes/pythonnative.bbclass @@ -5,7 +5,7 @@ PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" # PYTHON_EXECUTABLE is used by cmake PYTHON_EXECUTABLE="${PYTHON}" EXTRANATIVEPATH += "${PYTHON_PN}-native" -DEPENDS += " ${PYTHON_PN}-native " +DEPENDS_append = " ${PYTHON_PN}-native " # python-config and other scripts are using distutils modules # which we patch to access these variables