ptp: Add GNU Hurd to the list of supported platforms and fix the Solaris name

https://mesonbuild.com/Reference-tables.html#operating-system-names has
the table of all supported names right now.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/583

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/554>
This commit is contained in:
Sebastian Dröge 2020-07-03 11:45:36 +03:00
parent d22813ef97
commit eea1ac156c

View file

@ -29,9 +29,11 @@ elif host_system == 'windows'
message('PTP not supported on Windows, not ported yet.')
elif host_system == 'ios'
message('PTP not supported on iOS because of permissions.')
elif ['linux', 'darwin', 'netbsd', 'freebsd', 'openbsd', 'kfreebsd', 'dragonfly', 'solaris'].contains(host_system)
elif ['linux', 'darwin', 'netbsd', 'freebsd', 'openbsd', 'kfreebsd', 'dragonfly', 'sunos', 'gnu'].contains(host_system)
message('PTP supported on ' + host_system + '.')
have_ptp = true
else
message('PTP not supported on ' + host_system + ', not ported yet.')
endif
if have_ptp