[oe-commits] Samuli Piippo : gdb-cross-canadian: use correct exec-prefix path for python
git at git.openembedded.org
git at git.openembedded.org
Thu May 30 09:43:12 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: e77603324332b932c73c9e22ab65a0b9b7c17798
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e77603324332b932c73c9e22ab65a0b9b7c17798
Author: Samuli Piippo <samuli.piippo at digia.com>
Date: Mon May 27 13:24:45 2013 +0300
gdb-cross-canadian: use correct exec-prefix path for python
Incorrect exec-prefix path was given to gdb which leads to gdb
startup failure when SDK is not installed to its original destination.
Gdb relocates the exec-prefix path, so it will work for SDKs that
are installed to different location. PYTHONHOME env in no longer
neeeded for gdb.
[YOCTO #3839]
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index f6f515c..3cb347b 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -19,7 +19,7 @@ cat > ${WORKDIR}/python << EOF
case "\$2" in
--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
--ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;;
- --exec-prefix) echo "${exec_prefix}/bin" ;;
+ --exec-prefix) echo "${exec_prefix}" ;;
*) exit 1 ;;
esac
exit 0
More information about the Openembedded-commits
mailing list