[Mesa-dev] [PATCH] build: Make src/gtest before src/mesa

Kenneth Graunke kenneth at whitecape.org
Mon Jan 14 23:34:12 PST 2013


On 01/14/2013 09:15 PM, Matt Turner wrote:
> Fixes a make check problem where libgtest.la wasn't build before tests
> that want to link with it.
> ---
>   configure.ac |    3 +--
>   1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 2d74b82..99a08fd 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -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

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list