Module: Mesa Branch: master Commit: 8d9c2044a4f27b71ad854881771128bfcb2a6955 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d9c2044a4f27b71ad854881771128bfcb2a6955
Author: Eric Engestrom <[email protected]> Date: Thu Nov 15 18:07:33 2018 +0000 egl: hide entrypoints that shouldn't be exported when using glvnd From GLVND author: > From a functional standpoint, exporting additional symbols doesn't > really matter, since libglvnd will load the vendor libraries with > RTLD_LOCAL. Suggested-by: Kyle Brenneman <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Acked-by: Kyle Brenneman <[email protected]> --- src/egl/main/eglapi.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index f99078febb3..588c6a5f1eb 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -83,6 +83,12 @@ */ +#ifdef USE_LIBGLVND +#define EGLAPI +#undef PUBLIC +#define PUBLIC +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
