summaryrefslogtreecommitdiffstats
path: root/src/glx/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-01-03 12:37:34 -0800
committerDylan Baker <[email protected]>2018-01-11 15:40:02 -0800
commitaca3b647bedd581c6d0b428f9f5d58a65048f869 (patch)
tree48179657c0e0b20039cb21a051351773f5fa3437 /src/glx/meson.build
parent5fcadaec80c97a1df280b7bab01c271e323a468a (diff)
meson: add variable for including include/GL/internal
Signed-off-by: <[email protected]> Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/glx/meson.build')
-rw-r--r--src/glx/meson.build10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/glx/meson.build b/src/glx/meson.build
index 7757eee352f..04cd647ee49 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -138,10 +138,7 @@ endif
libglx = static_library(
'glx',
[files_libglx, glx_generated],
- include_directories : [
- inc_common, inc_glapi, inc_loader,
- include_directories('../../include/GL/internal'),
- ],
+ include_directories : [inc_common, inc_glapi, inc_loader, inc_gl_internal],
c_args : [
c_vis_args, gl_lib_cargs,
'-DGL_LIB_NAME="lib@[email protected].@1@"'.format(gl_lib_name, gl_lib_version.split('.')[0]),
@@ -165,10 +162,7 @@ if with_glx == 'dri'
libgl = shared_library(
gl_lib_name,
dummy_c, # workaround for bug #2180
- include_directories : [
- inc_common, inc_glapi, inc_loader,
- include_directories('../../include/GL/internal'),
- ],
+ 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],