ifneq (none,$(FFMPEG.GCC.g))
LAME.CONFIGURE.extra += --enable-debug
endif
+
+ifeq (1-msys,$(BUILD.cross)-$(HOST.system))
+ LAME.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
+endif
LIBICONV.FETCH.url += https://ftp.gnu.org/gnu/libiconv/libiconv-1.15.tar.gz
LIBICONV.FETCH.sha256 = ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178
+ifeq (1,$(BUILD.cross))
# this contrib will not build under MinGW with -std=gnu99
-ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
- LIBICONV.GCC.args.c_std = -std=gnu89
+ ifeq (mingw,$(BUILD.system))
+ LIBICONV.GCC.args.c_std = -std=gnu89
+ endif
+
+ ifeq (msys,$(HOST.system))
+ LIBICONV.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
+ endif
endif
# Disable to avoid Carbon.h dependency on OSX
LIBSAMPLERATE.CONFIGURE.extra = --disable-sndfile
+
+ifeq (1-msys,$(BUILD.cross)-$(HOST.system))
+ LIBSAMPLERATE.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
+endif
--with-ogg=$(call fn.ABSOLUTE,$(CONTRIB.build/)) \
--with-vorbis=$(call fn.ABSOLUTE,$(CONTRIB.build/)) \
HAVE_PKG_CONFIG=no
+
+ifeq (1-msys,$(BUILD.cross)-$(HOST.system))
+ LIBTHEORA.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
+endif
# in the MinGW environment.
LIBXML2.CONFIGURE.extra = \
--without-python --without-threads
+
+ifeq (1-msys,$(BUILD.cross)-$(HOST.system))
+ LIBXML2.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
+endif