[ar7] add a default network config file, patch from Wipster
[openwrt.git] / tools / libtool / patches / 120-strip-unsafe-dirs-for-relinking.patch
1 --- a/libltdl/config/ltmain.m4sh
2 +++ b/libltdl/config/ltmain.m4sh
3 @@ -2183,6 +2183,9 @@ func_mode_install ()
4 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
5 fi
6
7 + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/lib[^[:space:]]*%%"`
8 + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/usr/lib[^[:space:]]*%%"`
9 +
10 func_warning "relinking \`$file'"
11 func_show_eval "$relink_command" \
12 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
13 --- a/libltdl/config/ltmain.sh
14 +++ b/libltdl/config/ltmain.sh
15 @@ -2972,6 +2972,9 @@ func_mode_install ()
16 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
17 fi
18
19 + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/lib[^[:space:]]*%%"`
20 + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/usr/lib[^[:space:]]*%%"`
21 +
22 func_warning "relinking \`$file'"
23 func_show_eval "$relink_command" \
24 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
This page took 0.041222 seconds and 5 git commands to generate.