fix gcc-4.2.4 when target != avr32
[openwrt.git] / package / libtool / patches / 110-no_rpath.patch
1 Well, brute force to disable rpath.
2
3 Only
4 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
5 +#hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
6
7 should be necessary....
8
9 Index: libtool-1.5.10/libtool.m4
10 ===================================================================
11 --- libtool-1.5.10.orig/libtool.m4 2007-05-27 23:31:51.000000000 +0200
12 +++ libtool-1.5.10/libtool.m4 2007-05-27 23:50:26.000000000 +0200
13 @@ -4244,16 +4244,16 @@
14 hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
15
16 # Whether we should hardcode library paths into libraries.
17 -hardcode_into_libs=$hardcode_into_libs
18 +hardcode_into_libs=no
19
20 # Flag to hardcode \$libdir into a binary during linking.
21 # This must work even if \$libdir does not exist.
22 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
23 +hardcode_libdir_flag_spec=
24
25 # If ld is used when linking, flag to hardcode \$libdir into
26 # a binary during linking. This must work even if \$libdir does
27 # not exist.
28 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
29 +hardcode_libdir_flag_spec_ld=
30
31 # Whether we need a single -rpath flag with a separated argument.
32 hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
This page took 0.044655 seconds and 5 git commands to generate.