From: Emil Velikov Date: Wed, 12 Dec 2018 17:55:08 +0000 (+0000) Subject: glx: meson: drop includes from a link-only library X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=b44875e2dc650c58986480f3360fccfc8d890605 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 Reviewed-by: Dylan Baker --- diff --git a/src/glx/meson.build b/src/glx/meson.build index cc1bc9fc613..061e026e53f 100644 --- a/src/glx/meson.build +++ b/src/glx/meson.build @@ -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],