summaryrefslogtreecommitdiffstats
path: root/contrib/libsamplerate
diff options
context:
space:
mode:
authormaxd <[email protected]>2017-07-24 16:24:49 +0200
committerBradley Sepos <[email protected]>2017-10-05 17:17:34 -0400
commitb13b37ef9b2b9a09d25d963a0c9ae759070568b7 (patch)
tree49e6528f1b5eaf960eebb20800f3ce3b840f3268 /contrib/libsamplerate
parent72b4ee71638ab2f0b658f3076119b3d28f41f177 (diff)
MSYS compilation on Windows and for Windows
Diffstat (limited to 'contrib/libsamplerate')
-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