Browse Source

meson: don't build glapi_static_check_table on windows

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>
tags/19.3-branchpoint
Dylan Baker 7 years ago
parent
commit
af444d84a3
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/mapi/glapi/meson.build

+ 3
- 1
src/mapi/glapi/meson.build View 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(

Loading…
Cancel
Save