From 265796dbe6ae0953c775081044cfbf633c21b011 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Tue, 1 Dec 2020 10:38:57 +0000 Subject: ffmpeg: add support for macOS ARM64 Part-of: --- recipes/ffmpeg.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/ffmpeg.recipe b/recipes/ffmpeg.recipe index 51237579..0e80cbac 100644 --- a/recipes/ffmpeg.recipe +++ b/recipes/ffmpeg.recipe @@ -90,6 +90,8 @@ class Recipe(recipe.Recipe): elif target_os == Platform.IOS: target_os = 'darwin' target_arch = self.config.host.split('-', 1)[0] + if target_arch == 'aarch64': + target_arch = 'arm64' libavextraconf += ' --target-os=' + target_os libavextraconf += ' --arch=' + target_arch libavextraconf += ' --cross-prefix={} '\ -- cgit v1.2.3