[DIRECTFB] Placeholder
[openwrt/mini2440.git] / package / libtool / patches / 110-no_rpath.patch
blob685da9d6d01e2613dda650ad7cb65ff274df08f7
1 Well, brute force to disable rpath.
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)
7 should be necessary....
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)
14 # Whether we should hardcode library paths into libraries.
15 -hardcode_into_libs=$hardcode_into_libs
16 +hardcode_into_libs=no
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=
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=
29 # Whether we need a single -rpath flag with a separated argument.
30 hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)