On Wed, Jun 22, 2011 at 19:45, Erik van Pienbroek <erik(a)vanpienbroek.nl> wrote:
There's also another solution to this. You can set the
environment
variables MINGW32_CONFIGURE_ARGS and MINGW64_CONFIGURE_ARGS. With this
you end up with something like this:
%build
export
MINGW32_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads
--enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'"
export
MINGW64_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads
--enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'"
%mingw_configure "--enable-shared" "--disable-static"
it's be useful to add another define MINGW_CONFIGURE_ARGS which apply
to all build target (which is the case in most cases).
i'll just include this patch in my next mail for review...
--
Levente "Si vis pacem para bellum!"