diff --git a/recipes-ros/geometry/tf_1.11.8.bb b/recipes-ros/geometry/tf_1.11.8.bb index 180a68a..a965cea 100644 --- a/recipes-ros/geometry/tf_1.11.8.bb +++ b/recipes-ros/geometry/tf_1.11.8.bb @@ -10,3 +10,7 @@ require geometry.inc SRC_URI += "file://0001-Fix-stdlib.h-No-such-file-or-directory-errors-in-GCC.patch;striplevel=2" RDEPENDS_${PN} = "${PYTHON_PN}-numpy" + +# This option disables python support in case of python3 flavour of ROS because +# only python2 is supported by tf. +EXTRA_OECMAKE =+ "${@'-DANDROID=ON' if d.getVar('PYTHON_PN', True) == 'python3' else ''}"