Module: Mesa
Branch: master
Commit: af444d84a3e2d2eba2369a049c3d303310e8d6e2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af444d84a3e2d2eba2369a049c3d303310e8d6e2

Author: Dylan Baker <dy...@pnwbakers.com>
Date:   Fri May 31 16:20:35 2019 -0700

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.engest...@intel.com>

---

 src/mapi/glapi/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mapi/glapi/meson.build b/src/mapi/glapi/meson.build
index 6a4f9f5733e..817dd57241d 100644
--- a/src/mapi/glapi/meson.build
+++ b/src/mapi/glapi/meson.build
@@ -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(

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to