[oe-commits] org.oe.dev packages/libtool/libtool-cross_1.5.10.bb: Disable --rpath on compiling!

freyther commit openembedded-commits at lists.openembedded.org
Mon May 28 09:37:47 UTC 2007


packages/libtool/libtool-cross_1.5.10.bb: Disable --rpath on compiling!
    Hack libtool.m4 to never ever enable --rpath.

Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: eb91cd3982ac95a5691bfcc1a9dc860004185f3d
ViewMTN: http://monotone.openembedded.org/revision.psp?id=eb91cd3982ac95a5691bfcc1a9dc860004185f3d
Files:
1
packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch
packages/libtool/libtool-cross_1.5.10.bb
Diffs:

#
# mt diff -re35c79c0e44e6a58add42e2dc50ecfaad4e02c0e -reb91cd3982ac95a5691bfcc1a9dc860004185f3d
#
# 
# 
# add_file "packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch"
#  content [5d0a3a8d792d3cb959e1011de6ac1faf5badc74b]
# 
# patch "packages/libtool/libtool-cross_1.5.10.bb"
#  from [5134256c71b2d679838e87a55b084a99b1ac17d4]
#    to [3b24a14b6df3c0d9f7064a5bab60102a3ebe1b57]
# 
============================================================
--- packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch	5d0a3a8d792d3cb959e1011de6ac1faf5badc74b
+++ packages/libtool/libtool-1.5.10/never-ever-do-rpath.patch	5d0a3a8d792d3cb959e1011de6ac1faf5badc74b
@@ -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)
============================================================
--- packages/libtool/libtool-cross_1.5.10.bb	5134256c71b2d679838e87a55b084a99b1ac17d4
+++ packages/libtool/libtool-cross_1.5.10.bb	3b24a14b6df3c0d9f7064a5bab60102a3ebe1b57
@@ -8,7 +8,8 @@ SRC_URI_append = " file://libdir-la.patc
                    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}"






More information about the Openembedded-commits mailing list