python3native.bbclass: distutils -> sysconfig

In the comment it says we patch distutils modules, but we now are
patching sysconfig and not using distutils.

[YOCTO #14610]

(From OE-Core rev: 4f196b26d80305366d06ad51f44dd26ce81bea16)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling 2022-01-11 11:01:30 -08:00 committed by Richard Purdie
parent fbc8abea31
commit 26da78a7f5

View File

@ -4,7 +4,7 @@ PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3"
EXTRANATIVEPATH += "python3-native"
DEPENDS:append = " python3-native "
# python-config and other scripts are using distutils modules
# python-config and other scripts are using sysconfig modules
# which we patch to access these variables
export STAGING_INCDIR
export STAGING_LIBDIR