allocators: Only build DRM allocator on Linux

This was causing issues when building the monorepo on macOS.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4208>
This commit is contained in:
Piotr Brzeziński 2023-03-19 13:00:38 +01:00 committed by GStreamer Marge Bot
parent 621ec7b6e8
commit e448888e1e

View file

@ -307,7 +307,7 @@ endif
libdrm_dep = dependency('libdrm', version : '>= 2.4.98',
required : get_option('drm'),
fallback: ['libdrm', 'ext_libdrm']
allow_fallback: host_system not in ['darwin', 'ios', 'android', 'windows']
)
core_conf.set('HAVE_LIBDRM', libdrm_dep.found())