diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 index 42512d41c1..d196f879e8 100644 --- a/m4/ax_python_devel.m4 +++ b/m4/ax_python_devel.m4 @@ -336,15 +336,7 @@ EOD` if test "${plat_python_path}" != "${python_path}"; then python_path="-I$python_path -I$plat_python_path" else - # OpenPli 3.9 build finds python native, so needs sed to create correct python 3.9 path - # check OpenPli 3.9 path length(build lib) vs OE-A path length(host lib) - if [[ "${#python_path}" -gt 24 ]] - then - plat_python_path=`echo "$plat_python_path" | sed "s/-native//"` - python_path="-I$plat_python_path" - else - python_path="-I$ac_python_libdir_XCompile$python_path" - fi + python_path="-I$ac_python_libdir_XCompile$python_path" fi fi PYTHON_CPPFLAGS=$python_path