From 27765f8a1d20ea7923fdfb667ca9ec7a9037e106 Mon Sep 17 00:00:00 2001 From: Jeremy Puhlman Date: Fri, 17 Apr 2009 16:02:58 -0700 Subject: gettext: Correct autoconf-lib-link code to defer to the compiler's library search paths. Ultimately we should have --with- and --without- for everything, however if a recipie does not the suspect code wanders through the host system searching for a working library. OE takes great pains to set that all up, lets let it decide the right library. Signed-off-by: Jeremy Puhlman Signed-off-by: Chris Larson --- recipes/gettext/files/gettext-autoconf-lib-link-no-L.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes/gettext/files/gettext-autoconf-lib-link-no-L.patch (limited to 'recipes/gettext/files') diff --git a/recipes/gettext/files/gettext-autoconf-lib-link-no-L.patch b/recipes/gettext/files/gettext-autoconf-lib-link-no-L.patch new file mode 100644 index 0000000000..2fe62c0e19 --- /dev/null +++ b/recipes/gettext/files/gettext-autoconf-lib-link-no-L.patch @@ -0,0 +1,12 @@ +--- gettext-0.17/autoconf-lib-link/m4/lib-link.m4~ 2009-04-17 15:12:30.000000000 -0700 ++++ gettext-0.17/autoconf-lib-link/m4/lib-link.m4 2009-04-17 15:37:39.000000000 -0700 +@@ -267,6 +267,9 @@ + fi + fi + fi ++ dnl Just let the compiler find the library, the compiler and user are smarter then this script ++ dnl when cross compiling and working with a relocated install. ++ found_dir="" + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -- cgit 1.2.3-korg