Rémi Bernon (@rbernon) commented about dlls/winex11.drv/keyboard.c:
}; static unsigned kbd_layout=0; /* index into above table of layouts */ +#ifdef SONAME_LIBXKBREGISTRY +static struct rxkb_context *rxkb_context; + +static void *xkbregistry_handle; +#define MAKE_FUNCPTR(f) static typeof(f) * p_##f; +MAKE_FUNCPTR(rxkb_context_new) +MAKE_FUNCPTR(rxkb_context_parse_default_ruleset) +MAKE_FUNCPTR(rxkb_layout_first) +MAKE_FUNCPTR(rxkb_layout_get_description) +MAKE_FUNCPTR(rxkb_layout_get_name) +MAKE_FUNCPTR(rxkb_layout_get_variant) +MAKE_FUNCPTR(rxkb_layout_next) +#undef MAKE_FUNCPTR +#endif Well this rather requires HAVE_XKBCOMMON_XKBREGISTRY_H more than SONAME_LIBXKBREGISTRY.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10550#note_136791