summaryrefslogtreecommitdiffstats
path: root/contrib/libtheora/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libtheora/module.defs')
-rw-r--r--contrib/libtheora/module.defs7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/libtheora/module.defs b/contrib/libtheora/module.defs
index da5a14535..c5ca895cb 100644
--- a/contrib/libtheora/module.defs
+++ b/contrib/libtheora/module.defs
@@ -20,3 +20,10 @@ LIBTHEORA.CONFIGURE.extra = \
ifeq (1-msys,$(HOST.cross)-$(BUILD.system))
LIBTHEORA.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
endif
+
+ifeq (darwin,$(HOST.system))
+ ifneq ($(HOST.machine),$(BUILD.machine))
+ LIBTHEORA.CONFIGURE.args.host = --host=$(HOST.machine:arm64=aarch64)-$(HOST.vendor)-$(HOST.system)
+ LIBTHEORA.CONFIGURE.args.build = --build=$(BUILD.machine:arm64=aarch64)-$(BUILD.vendor)-$(BUILD.system)
+ endif
+endif \ No newline at end of file