[vlc-devel] [PATCH] configure: Pass the macosx deps even if the intl to try is external

Luca Barbato lu_zero at gentoo.org
Wed Feb 8 16:31:32 CET 2017


We build our own copy, gettext.m4 did not account this corner case.
---

Post-Fosdem patch

 m4/gettext.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/gettext.m4 b/m4/gettext.m4
index eef5073..a415377 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -192,7 +192,7 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
            [gt_save_CPPFLAGS="$CPPFLAGS"
             CPPFLAGS="$CPPFLAGS $INCINTL"
             gt_save_LIBS="$LIBS"
-            LIBS="$LIBS $LIBINTL"
+            LIBS="$LIBS $LIBINTL $INTL_MACOSX_LIBS"
             dnl Now see whether libintl exists and does not depend on libiconv.
             AC_LINK_IFELSE(
               [AC_LANG_PROGRAM(
--
2.9.2



More information about the vlc-devel mailing list