[vlc-devel] [PATCH 01/19] contrib: fix autoreconf on some packages

Steve Lhomme robux4 at videolabs.io
Wed Jun 14 14:01:50 CEST 2017


libmad doesn't build on mingw32 without this
---
 contrib/src/main.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 9f49f266ed..7a77d03afb 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -354,8 +354,12 @@ UPDATE_AUTOCONFIG = for dir in $(AUTOMAKE_DATA_DIRS); do \
 ifdef HAVE_IOS
 AUTORECONF = AUTOPOINT=true autoreconf
 else
+ifdef HAVE_WIN32
+AUTORECONF = rm -rf aclocal.m4 Makefile.in && autoreconf
+else
 AUTORECONF = autoreconf
 endif
+endif
 RECONF = mkdir -p -- $(PREFIX)/share/aclocal && \
 	cd $< && $(AUTORECONF) -fiv $(ACLOCAL_AMFLAGS)
 CMAKE = cmake . -DCMAKE_TOOLCHAIN_FILE=$(abspath toolchain.cmake) \
-- 
2.12.1



More information about the vlc-devel mailing list