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

Naohiro KORIYAMA git at videolan.org
Mon Nov 28 21:48:33 CET 2011


vlc | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Tue Nov 29 01:34:00 2011 +0900| [e5809d2cf1dcfe0213789e3d1899f77f58152bce] | committer: Rafaël Carré

detect libintl static library correctly in configure

Signed-off-by: Rafaël Carré <funman at videolan.org>

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

 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