diff options
author | Dylan Baker <[email protected]> | 2018-01-03 12:37:34 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-01-11 15:40:02 -0800 |
commit | aca3b647bedd581c6d0b428f9f5d58a65048f869 (patch) | |
tree | 48179657c0e0b20039cb21a051351773f5fa3437 /src | |
parent | 5fcadaec80c97a1df280b7bab01c271e323a468a (diff) |
meson: add variable for including include/GL/internal
Signed-off-by: <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/meson.build | 10 | ||||
-rw-r--r-- | src/glx/tests/meson.build | 4 |
2 files changed, 4 insertions, 10 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], diff --git a/src/glx/tests/meson.build b/src/glx/tests/meson.build index fe0075a6939..fd9d4d433b2 100644 --- a/src/glx/tests/meson.build +++ b/src/glx/tests/meson.build @@ -40,8 +40,8 @@ if with_shared_glapi [files_glx_test, glx_indirect_size_h, main_dispatch_h], link_with : [libglx, libglapi], include_directories : [ - include_directories('..', '../../../include/GL/internal'), - inc_src, inc_include, inc_mesa, inc_mapi, + inc_src, inc_include, inc_mesa, inc_mapi, inc_gl_internal, + include_directories('..'), ], dependencies : [dep_libdrm, dep_thread, idep_gtest] ) |