[vlc-devel] [PATCH] Fix MacOS gettext intl detection

Jean-Baptiste Kempf jb at videolan.org
Thu Jan 12 16:13:34 CET 2012


Close #5816
---
 m4/gettext.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/m4/gettext.m4 b/m4/gettext.m4
index f84e6a5..5c595b8 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -181,7 +181,7 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b
            [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_TRY_LINK([#include <libintl.h>
 $gt_revision_test_code
-- 
1.7.8.3




More information about the vlc-devel mailing list