glx: meson: drop includes from a link-only library
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 12 Dec 2018 17:55:08 +0000 (17:55 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Dec 2018 17:55:08 +0000 (17:55 +0000)
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@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/glx/meson.build

index cc1bc9fc613b86330b30bbc69bbff1befd2a50bc..061e026e53f22dc9db8b94b5e5402cc0c51b06bc 100644 (file)
@@ -154,7 +154,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],