a145ce1f04ca35fbf6430ea71b31b86275bdabd3
[openwrt/svn-archive/archive.git] / libs / gettext / patches / 002-gettext-autoconf-lib-link-no-L.patch
1 --- a/gettext-runtime/gnulib-m4/lib-link.m4
2 +++ b/gettext-runtime/gnulib-m4/lib-link.m4
3 @@ -312,6 +312,9 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
4 fi
5 fi
6 fi
7 + dnl Just let the compiler find the library, the compiler and user are smarter then this script
8 + dnl when cross compiling and working with a relocated install.
9 + found_dir=""
10 if test "X$found_dir" = "X"; then
11 for x in $LDFLAGS $LTLIB[]NAME; do
12 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
13 --- a/gettext-tools/gnulib-m4/lib-link.m4
14 +++ b/gettext-tools/gnulib-m4/lib-link.m4
15 @@ -312,6 +312,9 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
16 fi
17 fi
18 fi
19 + dnl Just let the compiler find the library, the compiler and user are smarter then this script
20 + dnl when cross compiling and working with a relocated install.
21 + found_dir=""
22 if test "X$found_dir" = "X"; then
23 for x in $LDFLAGS $LTLIB[]NAME; do
24 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])