diff options
author | Björn Stenberg <bjst@enea.com> | 2013-02-08 16:35:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-11 15:41:20 +0000 |
commit | 00a2411470b989ca80bc2a6de08d105bc400dae5 (patch) | |
tree | 9541e92355b29f8a8b1143106a1109cfe82d1f74 | |
parent | f9b894eaba94763a8ec790f8635f58b4e7e05381 (diff) | |
download | poky-00a2411470b989ca80bc2a6de08d105bc400dae5.tar.gz |
libiconv: Remove RPATH from binaries
Modify libtool to not add RPATH.
This solves https://bugzilla.yoctoproject.org/show_bug.cgi?id=2669
(From OE-Core rev: 273c437813b19577d68fa49ec04ea42154ad70c9)
Signed-off-by: Björn Stenberg <bjst@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libiconv/libiconv_1.14.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-support/libiconv/libiconv_1.14.bb b/meta/recipes-support/libiconv/libiconv_1.14.bb index 6666866a90..b1d2612d09 100644 --- a/meta/recipes-support/libiconv/libiconv_1.14.bb +++ b/meta/recipes-support/libiconv/libiconv_1.14.bb | |||
@@ -34,6 +34,12 @@ do_configure_prepend () { | |||
34 | rm -f m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 libcharset/m4/libtool.m4 libcharset/m4/ltoptions.m4 libcharset/m4/ltsugar.m4 libcharset/m4/ltversion.m4 libcharset/m4/lt~obsolete.m4 | 34 | rm -f m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 libcharset/m4/libtool.m4 libcharset/m4/ltoptions.m4 libcharset/m4/ltsugar.m4 libcharset/m4/ltversion.m4 libcharset/m4/lt~obsolete.m4 |
35 | } | 35 | } |
36 | 36 | ||
37 | do_configure_append () { | ||
38 | # forcibly remove RPATH from libtool | ||
39 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' *libtool | ||
40 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=_NO_RPATH_|g' *libtool | ||
41 | } | ||
42 | |||
37 | do_install_append () { | 43 | do_install_append () { |
38 | rm -rf ${D}${libdir}/preloadable_libiconv.so | 44 | rm -rf ${D}${libdir}/preloadable_libiconv.so |
39 | rm -rf ${D}${libdir}/charset.alias | 45 | rm -rf ${D}${libdir}/charset.alias |