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

ffmpeg: use Platform enums instead of strings

Part-of: <!661>
parent 3e98d9ef
......@@ -85,9 +85,9 @@ class Recipe(recipe.Recipe):
self.config.target_platform == Platform.WINDOWS:
libavextraconf += ' --enable-cross-compile'
target_os = self.config.target_platform
if target_os == 'windows':
if target_os == Platform.WINDOWS:
target_os = 'mingw32'
elif target_os == 'ios':
elif target_os == Platform.IOS:
target_os = 'darwin'
target_arch = self.config.host.split('-', 1)[0]
libavextraconf += ' --target-os=' + target_os
......
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