Code: Select all
./configure --host=i586-mingw32msvc --enable-shared --enable-mp4-output --disable-pthread --prefix=/work/vlc/windows-x86-latest/main/extras/contrib
make CC=i586-mingw32msvc-gcc AS=yasm AR=i586-mingw32msvc-ar RANLIB=i586-mingw32msvc-ranlib STRIP=i586-mingw32msvc-strip
Code: Select all
mv Makefile Makefile.tmp; sed 's/ar /$(AR) /g' Makefile.tmp > Makefile; rm -f Makefile.tmp
mv Makefile Makefile.tmp; sed 's/ranlib /$(RANLIB) /g' Makefile.tmp > Makefile; rm -f Makefile.tmp
mv Makefile Makefile.tmp; sed 's/strip /$(STRIP) /g' Makefile.tmp > Makefile; rm -f Makefile.tmp