build: export xorgGlxCreateVendor symbol for glamor_egl module

The glamor_egl backport (PR #3877) calls xorgGlxCreateVendor() which is
defined in glx/glxext.c. Without _X_EXPORT, the symbol is not exported
from libxorgserver.so, causing undefined symbol errors when loading
the glamor_egl module at runtime.

Signed-off-by: Enterprise <enterprise@x11libre.org>
This commit is contained in:
Enrico Weigelt, metux IT consult 2026-10-23 17:53:08 +02:00 • committed by Enrico Weigelt
commit a5a05c5d47

View file

@ -45,6 +45,7 @@ extern __GLXprovider __glXDRISWRastProvider;
_X_EXPORT
void GlxPushProvider(__GLXprovider * provider);
_X_EXPORT
_X_EXPORT
Bool xorgGlxCreateVendor(void);
#else
static inline Bool xorgGlxCreateVendor(void) { return TRUE; }