[vlc-devel] [PATCH 1/2] contrib: always set the host machine on the Meson crossfile

Steve Lhomme robux4 at ycbcr.xyz
Wed Mar 20 11:13:54 CET 2019


---
 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 4ac209bf13..f4aeffaeaa 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -607,6 +607,7 @@ endif
 else
 	echo "c_args = [ '-I$(PREFIX)/include' ]" >> $@
 	echo "c_link_args = [ '-L$(PREFIX)/lib' ]" >> $@
+endif
 endif
 	echo "[host_machine]" >> $@
 ifdef HAVE_WIN32
@@ -624,7 +625,6 @@ endif
 	echo "cpu_family = '$(subst i386,x86,$(ARCH))'" >> $@
 	echo "cpu = '`echo $(HOST) | cut -d - -f 1`'" >> $@
 	echo "endian = 'little'" >> $@
-endif
 
 # Default pattern rules
 .sum-%: $(SRC)/%/SHA512SUMS
-- 
2.17.1



More information about the vlc-devel mailing list