diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2020-12-01 10:38:57 +0000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2020-12-07 13:35:29 +1100 |
commit | 265796dbe6ae0953c775081044cfbf633c21b011 (patch) | |
tree | 88b06c53233406a2ad45743dc1299ddc790be102 /recipes | |
parent | be3149fae00ba903dc41c70e3cf4caf1e505e7a1 (diff) |
ffmpeg: add support for macOS ARM64
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/661>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/ffmpeg.recipe | 2 |
1 files changed, 2 insertions, 0 deletions
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={} '\ |