add libtool to tools/
[openwrt-10.03/.git] / tools / libtool / patches / 001-force_dlopen_deplibs.patch
diff --git a/tools/libtool/patches/001-force_dlopen_deplibs.patch b/tools/libtool/patches/001-force_dlopen_deplibs.patch
new file mode 100644 (file)
index 0000000..dfcf56b
--- /dev/null
@@ -0,0 +1,14 @@
+diff -urN libtool-1.5.14/libltdl/acinclude.m4 libtool-1.5.14.new/libltdl/acinclude.m4
+--- libtool-1.5.14/libltdl/acinclude.m4        2005-02-12 13:20:02.000000000 +0100
++++ libtool-1.5.14.new/libltdl/acinclude.m4    2006-04-17 23:00:24.000000000 +0200
+@@ -6228,10 +6228,8 @@
+     ;;
+   esac
+   ])
+-if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
+  AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
+     [Define if the OS needs help to load dependent libraries for dlopen().])
+-fi
+ ])# AC_LTDL_SYS_DLOPEN_DEPLIBS