diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-03-23 05:50:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 14:00:43 +0000 |
commit | d56177c59b5e237a501281d806724885456f0193 (patch) | |
tree | 9b3b8637a30bb5ac84ec7d33bca64a2f2ae94fcd /meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | |
parent | 5de06b564a949d0d9ec254817feacf9ad18d098c (diff) | |
download | openembedded-core-contrib-d56177c59b5e237a501281d806724885456f0193.tar.gz |
gdb-cross-canadian: Fix linking issues when python support is enabled
gdb-cross-canadian was linking with static version of libpython
and looking for build host python when run. This could be mismatch
between python-nativesdk and build host provided python. So we
make it consistent to always use python-nativesdk
Instead of adding bunch of -L we add -rpath and -rpath-link
so that gdb finds all needed libraries in SDK and does not
reach out into host
This should fix yocto PR# 2077 as well.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb index dfb7d8122a..8e68c75782 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb @@ -1,7 +1,7 @@ require gdb-common.inc require gdb-cross-canadian.inc -PR = "${INC_PR}.4" +PR = "${INC_PR}.5" GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" EXPAT = "--with-expat" |