meson: don't build glapi_static_check_table on windows
authorDylan Baker <dylan@pnwbakers.com>
Fri, 31 May 2019 23:20:35 +0000 (16:20 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 10 Sep 2019 20:36:47 +0000 (20:36 +0000)
It doesn't compile due to undefined symbols, which are in
libglapi_static, so I don't understand the problem.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/mapi/glapi/meson.build

index 6a4f9f5733e13821abb913561758206d390a0da6..817dd57241dc7358a6dfe8b4fa662be64faf89a7 100644 (file)
@@ -79,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(