4c3c07b7762853019f5b7f5f3e5bad61369b097c
[openwrt-10.03/.git] / tools / libtool / patches / 001-fix-func_append.patch
1 --- a/libltdl/config/ltmain.m4sh
2 +++ b/libltdl/config/ltmain.m4sh
3 @@ -7261,7 +7261,7 @@ EOF
4             elif test -n "$runpath_var"; then
5               case "$perm_rpath " in
6               *" $libdir "*) ;;
7 -             *) func_apped perm_rpath " $libdir" ;;
8 +             *) func_append perm_rpath " $libdir" ;;
9               esac
10             fi
11           done
12 --- a/libltdl/config/ltmain.sh
13 +++ b/libltdl/config/ltmain.sh
14 @@ -8050,7 +8050,7 @@ EOF
15             elif test -n "$runpath_var"; then
16               case "$perm_rpath " in
17               *" $libdir "*) ;;
18 -             *) func_apped perm_rpath " $libdir" ;;
19 +             *) func_append perm_rpath " $libdir" ;;
20               esac
21             fi
22           done