[vlc-commits] contrib: fontconfig: Force random to be considered as missing on NaCL

Hugo Beauzée-Luyssen git at videolan.org
Tue Mar 20 14:53:02 CET 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Oct  3 11:36:30 2017 +0200| [72eb5f1a10abe831d157b91380b6f3bc8f49eb33] | committer: Hugo Beauzée-Luyssen

contrib: fontconfig: Force random to be considered as missing on NaCL

https://chromium.googlesource.com/webports.git/+/pepper_49/ports/fontconfig/build.sh

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

 contrib/src/fontconfig/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/fontconfig/rules.mak b/contrib/src/fontconfig/rules.mak
index 4d44c09597..add002a210 100644
--- a/contrib/src/fontconfig/rules.mak
+++ b/contrib/src/fontconfig/rules.mak
@@ -48,6 +48,10 @@ FONTCONFIG_ENV += LIBXML2_CFLAGS=`xml2-config --cflags`
 FONTCONFIG_ENV += LIBXML2_LIBS=`xml2-config --libs`
 endif
 
+ifdef HAVE_NACL
+FONTCONFIG_ENV += ac_cv_func_random=no
+endif
+
 DEPS_fontconfig = freetype2 $(DEPS_freetype2) libxml2 $(DEPS_libxml2)
 
 .fontconfig: fontconfig



More information about the vlc-commits mailing list