Merge branch 'add-missing-x11-includes-path' into 'master'

Add x11_headers dependency to all targets that use it

See merge request glvnd/libglvnd!255
This commit is contained in:
Kyle Brenneman 2021-10-04 15:11:46 +00:00
commit a1a2b323ce
3 changed files with 3 additions and 2 deletions

View file

@ -25,6 +25,7 @@ libegl_dispatch_stubs = static_library(
'egl_dispatch_stubs',
['egldispatchstubs.c', g_egldispatchstubs_c, g_egldispatchstubs_h],
include_directories : inc_include,
dependencies : [dep_x11_headers],
gnu_symbol_visibility : 'hidden',
)

View file

@ -48,7 +48,7 @@ if get_option('egl')
c_args : ['-DDUMMY_VENDOR_NAME="dummy@0@"'.format(v)],
include_directories : [inc_include],
link_with: [libpatchentrypoints],
dependencies : [idep_glvnd_pthread],
dependencies : [idep_glvnd_pthread, dep_x11_headers],
version : '0',
)
endforeach

View file

@ -200,7 +200,7 @@ if get_option('egl')
['test@0@.c'.format(t[0]), 'egl_test_utils.c'],
include_directories : [inc_include],
link_with : [libEGL, t[1]],
dependencies : [t[2]],
dependencies : [t[2], dep_x11_headers],
),
env : env_egl,
suite : ['egl'],