mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
meson: Fix applemedia dependencies on iOS
These were accidentally not being found because they were incorrectly specified.
This commit is contained in:
parent
cea5e3fcdb
commit
0146ad219e
1 changed files with 2 additions and 4 deletions
|
@ -23,7 +23,6 @@ if not ['darwin', 'ios'].contains(host_system) or applemedia_option.disabled()
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
applemedia_deps_found = false
|
|
||||||
applemedia_frameworks = []
|
applemedia_frameworks = []
|
||||||
corefoundation_dep = dependency('CoreFoundation', required : applemedia_option)
|
corefoundation_dep = dependency('CoreFoundation', required : applemedia_option)
|
||||||
coremedia_dep = dependency('CoreMedia', required : applemedia_option)
|
coremedia_dep = dependency('CoreMedia', required : applemedia_option)
|
||||||
|
@ -57,9 +56,8 @@ if host_system == 'ios'
|
||||||
]
|
]
|
||||||
applemedia_objc_args += ['-fobjc-abi-version=2', '-fobjc-legacy-dispatch']
|
applemedia_objc_args += ['-fobjc-abi-version=2', '-fobjc-legacy-dispatch']
|
||||||
|
|
||||||
foundation_dep = dependency('Foundation', required : applemedia_option)
|
ios_media_dep = dependency('appleframeworks', modules : ['Foundation', 'AssetsLibrary'], required : applemedia_option)
|
||||||
coremedia_dep = dependency('AssetsLibrary', required : applemedia_option)
|
applemedia_frameworks += [ios_media_dep]
|
||||||
applemedia_frameworks += [foundation_dep, coremedia_dep]
|
|
||||||
else
|
else
|
||||||
applemedia_sources += [
|
applemedia_sources += [
|
||||||
'iosurfacememory.c'
|
'iosurfacememory.c'
|
||||||
|
|
Loading…
Reference in a new issue