meson: require shared glapi when using DRI based libGL
Just like we do in the autotools build. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
728d1da159
commit
63b95fb291
|
@ -357,8 +357,12 @@ if with_glx != 'disabled'
|
|||
if with_dri
|
||||
error('xlib conflicts with any dri driver')
|
||||
endif
|
||||
elif with_glx == 'dri' and not with_dri
|
||||
error('dri based GLX requires at least one DRI driver')
|
||||
elif with_glx == 'dri'
|
||||
if not with_dri
|
||||
error('dri based GLX requires at least one DRI driver')
|
||||
elif not with_shared_glapi
|
||||
error('dri based GLX requires shared-glapi')
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue