configure.ac/meson.build: Add options for library suffixes
[mesa.git] / meson.build
index 7a536982da69f4c60fb58f2f19158b2edabbfd65..7b337755544e267bef9b16043619c88ac3458edf 100644 (file)
@@ -375,6 +375,9 @@ if with_glvnd
   elif with_glx == 'disabled' and not with_egl
     error('glvnd requires DRI based GLX and/or EGL')
   endif
+  if get_option('egl-lib-suffix') != ''
+    error('''EGL lib suffix can't be used with libglvnd''')
+  endif
 endif
 
 if with_vulkan_icd_dir == ''