ptp: Also handle gnu/kfreebsd

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/651>
This commit is contained in:
Sebastian Dröge 2020-09-08 13:40:25 +03:00 committed by Tim-Philipp Müller
parent 55d6981db5
commit 4b0bac94ec

View file

@ -29,7 +29,7 @@ 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', 'sunos', 'gnu'].contains(host_system)
elif ['linux', 'darwin', 'netbsd', 'freebsd', 'openbsd', 'kfreebsd', 'dragonfly', 'sunos', 'gnu', 'gnu/kfreebsd'].contains(host_system)
message('PTP supported on ' + host_system + '.')
have_ptp = true
else