diff --git a/subprojects/packagefiles/ffmpeg/0001.patch b/subprojects/packagefiles/ffmpeg/0001.patch index 3c177d9197..aeac050d51 100644 --- a/subprojects/packagefiles/ffmpeg/0001.patch +++ b/subprojects/packagefiles/ffmpeg/0001.patch @@ -86,7 +86,16 @@ index 688b368859..dc9d18acd5 100644 found = cc.has_type(type, prefix : prefix, dependencies : extra_deps, args : c_args + project_c_args) endif -@@ -3087,6 +3094,11 @@ foreach a: arch_list +@@ -3054,6 +3061,8 @@ if host_machine.system() == 'windows' + makedef_args += ['--os', 'win'] + elif host_machine.system() in ['darwin', 'ios'] + makedef_args += ['--os', 'darwin'] ++else ++ makedef_args += ['--os', 'linux'] + endif + + final_conf = configuration_data() +@@ -3109,6 +3118,11 @@ foreach a: arch_list endforeach foreach have: have_list