Mesa (staging/18.2): glx: meson: drop includes from a link-only library

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Dec 24 12:35:41 UTC 2018


Module: Mesa
Branch: staging/18.2
Commit: 2c6d13e286c44739b14cf45253e873fb20f90965
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c6d13e286c44739b14cf45253e873fb20f90965

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Dec 12 17:55:08 2018 +0000

glx: meson: drop includes from a link-only library

When producing the final libGL.so/libGLX_mesa.so we only link the local
static helper lib (libglx). Thus there's no reason for the includes.

Fixes: a47c525f328 ("meson: build glx")
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
(cherry picked from commit b44875e2dc650c58986480f3360fccfc8d890605)

---

 src/glx/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/glx/meson.build b/src/glx/meson.build
index 6bd3e46265..a61f959e80 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -155,7 +155,6 @@ libglx = static_library(
 libgl = shared_library(
   gl_lib_name,
   [],
-  include_directories : [inc_common, inc_glapi, inc_loader, inc_gl_internal],
   link_with : [libglapi_static, libglapi],
   link_whole : libglx,
   link_args : [ld_args_bsymbolic, ld_args_gc_sections, extra_ld_args_libgl],




More information about the mesa-commit mailing list