OSDN Git Service

build: Make src/gtest before src/mesa
authorMatt Turner <mattst88@gmail.com>
Mon, 14 Jan 2013 22:38:01 +0000 (14:38 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 16 Jan 2013 21:31:36 +0000 (13:31 -0800)
Fixes a make check problem where libgtest.la wasn't build before tests
that want to link with it.

configure.ac

index 2d74b82..99a08fd 100644 (file)
@@ -739,7 +739,6 @@ AM_CONDITIONAL(HAVE_SHARED_GLAPI, test "x$enable_shared_glapi" = xyes)
 dnl
 dnl Driver specific build directories
 dnl
-SRC_DIRS="gtest"
 GALLIUM_DIRS="auxiliary drivers state_trackers"
 GALLIUM_TARGET_DIRS=""
 GALLIUM_WINSYS_DIRS="sw"
@@ -764,7 +763,7 @@ fi
 # build glsl and mesa if OpenGL or OpenGL ES is enabled
 case "x$enable_opengl$enable_gles1$enable_gles2" in
 x*yes*)
-    CORE_DIRS="mapi/glapi/gen $CORE_DIRS glsl mesa"
+    CORE_DIRS="mapi/glapi/gen $CORE_DIRS gtest glsl mesa"
     ;;
 esac