[backfire] backport libtool/libltdl split from trunk
[openwrt-10.03/.git] / tools / libtool / patches / 001-fix-func_append.patch
diff --git a/tools/libtool/patches/001-fix-func_append.patch b/tools/libtool/patches/001-fix-func_append.patch
new file mode 100644 (file)
index 0000000..4c3c07b
--- /dev/null
@@ -0,0 +1,22 @@
+--- a/libltdl/config/ltmain.m4sh
++++ b/libltdl/config/ltmain.m4sh
+@@ -7261,7 +7261,7 @@ EOF
+           elif test -n "$runpath_var"; then
+             case "$perm_rpath " in
+             *" $libdir "*) ;;
+-            *) func_apped perm_rpath " $libdir" ;;
++            *) func_append perm_rpath " $libdir" ;;
+             esac
+           fi
+         done
+--- a/libltdl/config/ltmain.sh
++++ b/libltdl/config/ltmain.sh
+@@ -8050,7 +8050,7 @@ EOF
+           elif test -n "$runpath_var"; then
+             case "$perm_rpath " in
+             *" $libdir "*) ;;
+-            *) func_apped perm_rpath " $libdir" ;;
++            *) func_append perm_rpath " $libdir" ;;
+             esac
+           fi
+         done