gdb: Add missing runtime dependency for python option
PATCH 1/1 gdb: Add missing runtime dependency for python option
From: Andreas Oberritter <[email protected]>
With python enabled, gdb refuses to start without core python modules:
| Could not find platform independent libraries <prefix> | Could not find platform dependent libraries <exec_prefix> | Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] | ImportError: No module named site
It also complains if python-codecs is missing.
Signed-off-by Andreas Oberritter <[email protected]>
Signed-off-by Andre McCurdy <[email protected]>
--- meta/recipes-devtools/gdb/gdb_7.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/gdb/gdb_7.9.1.bb +1 -1
@@ -4,7 +4,7 @@ require gdb-${PV}.inc inherit python-dir PACKAGECONFIG ??= "" -PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python" +PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python,python python-codecs" PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" do_configure_prepend() {
Signature · 1 line
1.9.1