summaryrefslogtreecommitdiffstats
path: root/contrib/libsamplerate/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libsamplerate/module.defs')
-rw-r--r--contrib/libsamplerate/module.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libsamplerate/module.defs b/contrib/libsamplerate/module.defs
index f4c4555d4..cba9eea5e 100644
--- a/contrib/libsamplerate/module.defs
+++ b/contrib/libsamplerate/module.defs
@@ -11,3 +11,7 @@ LIBSAMPLERATE.EXTRACT.tarbase = libsamplerate
# 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