mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
meson: host_system is 'ios' when building for iOS
The cross file sets this value, and we use 'ios' in Cerbero.
This commit is contained in:
parent
6b4fc62b7b
commit
0a84fae16c
2 changed files with 4 additions and 8 deletions
|
@ -27,13 +27,9 @@ if host_system == 'android'
|
||||||
message('PTP not supported on Android because of permissions.')
|
message('PTP not supported on Android because of permissions.')
|
||||||
elif host_system == 'windows'
|
elif host_system == 'windows'
|
||||||
message('PTP not supported on Windows, not ported yet.')
|
message('PTP not supported on Windows, not ported yet.')
|
||||||
elif host_system == 'darwin'
|
elif host_system == 'ios'
|
||||||
if cc.has_header('MobileCoreServices/MobileCoreServices.h')
|
message('PTP not supported on iOS because of permissions.')
|
||||||
message('PTP not supported on iOS because of permissions.')
|
elif ['linux', 'darwin', 'netbsd', 'freebsd', 'openbsd', 'kfreebsd', 'dragonfly', 'solaris'].contains(host_system)
|
||||||
else
|
|
||||||
have_ptp = true
|
|
||||||
endif
|
|
||||||
elif ['linux', 'netbsd', 'freebsd', 'openbsd', 'kfreebsd', 'dragonfly', 'solaris'].contains(host_system)
|
|
||||||
message('PTP supported on ' + host_system + '.')
|
message('PTP supported on ' + host_system + '.')
|
||||||
have_ptp = true
|
have_ptp = true
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -108,7 +108,7 @@ else
|
||||||
cdata.set('MEMORY_ALIGNMENT', mem_align_opt.to_int())
|
cdata.set('MEMORY_ALIGNMENT', mem_align_opt.to_int())
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if host_system == 'darwin'
|
if ['darwin', 'ios'].contains(host_system)
|
||||||
cdata.set_quoted('GST_EXTRA_MODULE_SUFFIX', '.dylib')
|
cdata.set_quoted('GST_EXTRA_MODULE_SUFFIX', '.dylib')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue