diff options
author | Holger Freyther <zecke@selfish.org> | 2007-05-27 21:59:12 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-05-27 21:59:12 +0000 |
commit | 082de8231effc3db38d7c5d33b1457c54f6c69e0 (patch) | |
tree | d3aa969c05935a51c5acc6aff38a87d001b1c1d2 /packages | |
parent | 607585307faff650f3cbcc2d9cc3d9930e6562f0 (diff) |
packages/libtool/libtool-cross_1.5.10.bb: Disable --rpath on compiling!
Hack libtool.m4 to never ever enable --rpath.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch | 32 | ||||
-rw-r--r-- | packages/libtool/libtool-cross_1.5.10.bb | 3 |
2 files changed, 34 insertions, 1 deletions
diff --git a/packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch b/packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch new file mode 100644 index 0000000000..7c92524b3b --- /dev/null +++ b/packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch @@ -0,0 +1,32 @@ +Well, brute force to disable rpath. + +Only +-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) ++#hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +should be necessary.... + +Index: libtool-1.5.10/libtool.m4 +=================================================================== +--- libtool-1.5.10.orig/libtool.m4 2007-05-27 23:31:51.000000000 +0200 ++++ libtool-1.5.10/libtool.m4 2007-05-27 23:50:26.000000000 +0200 +@@ -4244,16 +4244,16 @@ + hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + + # Whether we should hardcode library paths into libraries. +-hardcode_into_libs=$hardcode_into_libs ++hardcode_into_libs=no + + # Flag to hardcode \$libdir into a binary during linking. + # This must work even if \$libdir does not exist. +-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) ++hardcode_libdir_flag_spec= + + # If ld is used when linking, flag to hardcode \$libdir into + # a binary during linking. This must work even if \$libdir does + # not exist. +-hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) ++hardcode_libdir_flag_spec_ld= + + # Whether we need a single -rpath flag with a separated argument. + hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) diff --git a/packages/libtool/libtool-cross_1.5.10.bb b/packages/libtool/libtool-cross_1.5.10.bb index 575448e447..f4ca30ca6d 100644 --- a/packages/libtool/libtool-cross_1.5.10.bb +++ b/packages/libtool/libtool-cross_1.5.10.bb @@ -8,7 +8,8 @@ SRC_URI_append = " file://libdir-la.patch;patch=1 \ file://prefix.patch;patch=1 \ file://tag.patch;patch=1 \ file://tag1.patch;patch=1 \ - file://install-path-check.patch;patch=1" + file://install-path-check.patch;patch=1 \ + file://never-ever-do-rpath.patch;patch=1 " S = "${WORKDIR}/libtool-${PV}" prefix = "${STAGING_DIR}" |