[vlc-commits] detect libintl static library correctly in configure

Naohiro KORIYAMA git at videolan.org
Wed Nov 30 01:21:18 CET 2011


vlc/vlc-1.2 | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Tue Nov 29 01:34:00 2011 +0900| [360e71f7abd8183b68aaf9fd6d401eee9e4fc2ed] | committer: Jean-Baptiste Kempf

detect libintl static library correctly in configure

Signed-off-by: Rafaël Carré <funman at videolan.org>
(cherry picked from commit 562dd63b4367122493c7364e0d40df26c4129c08)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=360e71f7abd8183b68aaf9fd6d401eee9e4fc2ed
---

 contrib/src/gettext/rules.mak |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/contrib/src/gettext/rules.mak b/contrib/src/gettext/rules.mak
index 15225c8..7e1d820 100644
--- a/contrib/src/gettext/rules.mak
+++ b/contrib/src/gettext/rules.mak
@@ -49,5 +49,9 @@ endif
 ifdef HAVE_WIN32
 	(cd $(PREFIX)/include; sed -i.orig '314 c #if 0' libintl.h)
 endif
+ifdef HAVE_MACOSX
+	# detect libintl correctly in configure for static library
+	(cd $(PREFIX)/share/aclocal; sed -i.orig  '184s/$$LIBINTL/$$LIBINTL $$INTL_MACOSX_LIBS/' gettext.m4)
+endif
 	touch $@
 



More information about the vlc-commits mailing list