mesa: GetFramebufferParameteriv spelling
[mesa.git] / src / mapi / glapi / meson.build
index 7e8bc38a817681076c073a266b991ffe51bc75b3..817dd57241dc7358a6dfe8b4fa662be64faf89a7 100644 (file)
@@ -44,6 +44,7 @@ if with_shared_glapi
   static_glapi_args += [
     '-DMAPI_MODE_BRIDGE',
     '-DMAPI_ABI_HEADER="@0@"'.format(glapi_mapi_tmp_h.full_path()),
+    gcc_lto_quirk,
   ]
 else
   static_glapi_args += '-DMAPI_MODE_UTIL'
@@ -78,7 +79,9 @@ libglapi_static = static_library(
   build_by_default : false,
 )
 
-if with_any_opengl and not with_shared_glapi and with_tests
+# TODO: this test doesn't compile on windows with mingw or msvc due to
+# undefined symbols from libglapi_static, but that should be fixable.
+if with_any_opengl and not with_shared_glapi and with_tests and not with_platform_windows
   test(
     'glapi_static_check_table',
     executable(