- deps_gbm += [dep_libdrm, dep_thread]
- args_gbm += '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_driver_dir)
+ deps_gbm += dep_libdrm # TODO: pthread-stubs
+ args_gbm += '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path)
+endif
+if with_platform_wayland
+ deps_gbm += dep_wayland_server
+ incs_gbm += inc_wayland_drm