mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
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] (From OE-Core master rev: e77603324332b932c73c9e22ab65a0b9b7c17798) (From OE-Core rev: a85217740d6d11509d93cab13adf4c6c8aad1e1d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
594ab9d3a8
commit
0836bc221e
@@ -17,7 +17,7 @@ cat > ${WORKDIR}/python << EOF
|
|||||||
case "\$2" in
|
case "\$2" in
|
||||||
--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
|
--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
|
||||||
--ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;;
|
--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 ;;
|
*) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user