meson: fix glx-test race
authorDylan Baker <dylan@pnwbakers.com>
Tue, 12 Dec 2017 18:23:48 +0000 (10:23 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 13 Dec 2017 17:37:12 +0000 (09:37 -0800)
This test should rely on dispatch.h being generated, but it doesn't.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glx/tests/meson.build

index d81b76906da6b8756c320c57033e2ed98be4f565..51b2843fc90c883244f1a46cbf148a4f86a0c103 100644 (file)
@@ -35,7 +35,7 @@ if with_shared_glapi
 
   glx_test = executable(
     'glx-test',
-    [files_glx_test, glx_indirect_size_h],
+    [files_glx_test, glx_indirect_size_h, main_dispatch_h],
     link_with : [libglx, libglapi],
     include_directories : [
       include_directories('..', '../../../include/GL/internal'),