[kernel] refreshed layer7 patches for 2.6.21.7, 2.6.23.17 and 2.6.25.20
[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 --- a/libtool.m4
10 +++ b/libtool.m4
11 @@ -4601,16 +4601,16 @@ shlibpath_overrides_runpath=$shlibpath_o
12 hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
13
14 # Whether we should hardcode library paths into libraries.
15 -hardcode_into_libs=$hardcode_into_libs
16 +hardcode_into_libs=no
17
18 # Flag to hardcode \$libdir into a binary during linking.
19 # This must work even if \$libdir does not exist.
20 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
21 +hardcode_libdir_flag_spec=
22
23 # If ld is used when linking, flag to hardcode \$libdir into
24 # a binary during linking. This must work even if \$libdir does
25 # not exist.
26 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
27 +hardcode_libdir_flag_spec_ld=
28
29 # Whether we need a single -rpath flag with a separated argument.
30 hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
This page took 0.049454 seconds and 5 git commands to generate.