Instead of needing recipes to inherit python3targetconfig so that Python
when asked will report the correct target directory to install into, we
can pass the right directory via meson's cross file.
This means recipes that currently inherit python3targetconfig to get
this path no longer need to.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
c_link_args = ${@meson_array('LDFLAGS', d)}
cpp_args = ${@meson_array('CXXFLAGS', d)}
cpp_link_args = ${@meson_array('LDFLAGS', d)}
+python.platlibdir = '${PYTHON_SITEPACKAGES_DIR}'
+python.purelibdir = '${PYTHON_SITEPACKAGES_DIR}'
[properties]
needs_exe_wrapper = true