Commit 265796db authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey Committed by Matthew Waters
Browse files

ffmpeg: add support for macOS ARM64

Part-of: <!661>
parent be3149fa
...@@ -90,6 +90,8 @@ class Recipe(recipe.Recipe): ...@@ -90,6 +90,8 @@ class Recipe(recipe.Recipe):
elif target_os == Platform.IOS: elif target_os == Platform.IOS:
target_os = 'darwin' target_os = 'darwin'
target_arch = self.config.host.split('-', 1)[0] target_arch = self.config.host.split('-', 1)[0]
if target_arch == 'aarch64':
target_arch = 'arm64'
libavextraconf += ' --target-os=' + target_os libavextraconf += ' --target-os=' + target_os
libavextraconf += ' --arch=' + target_arch libavextraconf += ' --arch=' + target_arch
libavextraconf += ' --cross-prefix={} '\ libavextraconf += ' --cross-prefix={} '\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment