diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2020-12-01 10:38:57 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-01-13 01:04:46 +0000 |
commit | f8cbc80f4240f8f4ae619a06419272ed3b475c3e (patch) | |
tree | 3846f76dea3251e2f8fa43906e2dfdba4ad8ade1 | |
parent | e52f6d444d8fb93116b23ee31c2df3d1ec10e016 (diff) |
ffmpeg: add support for macOS ARM64
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/661>
-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={} '\ |