diff options
Diffstat (limited to 'src/glx')
-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] ) |