]> git.sesse.net Git - vlc/commitdiff
m4: fix gettext detection on OSX (close #5816)
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 27 Jun 2013 10:30:28 +0000 (12:30 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 27 Jun 2013 10:31:00 +0000 (12:31 +0200)
m4/gettext.m4

index 8d1f0665c83add7ac466bd452ddd7beeb44b3a24..bb783fef5677603898278057e4f463639dcd4463 100644 (file)
@@ -187,7 +187,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_LINK_IFELSE(
               [AC_LANG_PROGRAM(