[vlc-devel] [PATCH] contrib: don't use config.site when cross compiling

Steve Lhomme robux4 at ycbcr.xyz
Wed May 16 16:09:35 CEST 2018


It's only good for local builds
We may also create our own config.site and use it like toolchain.cmake
---
 contrib/src/main.mak | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index f90784712a..1083dada2f 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -54,6 +54,7 @@ endif
 
 ifdef HAVE_CROSS_COMPILE
 need_pkg = 1
+CONFIG_SITE=/dev/null
 else
 need_pkg = $(shell $(PKG_CONFIG) $(1) || echo 1)
 endif
-- 
2.17.0



More information about the vlc-devel mailing list