[Mesa-dev] [PATCH] glapi: Fix scons build

Vinson Lee vlee at freedesktop.org
Wed Apr 2 21:13:04 PDT 2014


On Wed, Apr 2, 2014 at 12:30 PM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Put the -c in the correct place (and match Makefile.am).
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76960
> Cc: Vinson Lee <vlee at freedesktop.org>
> ---
>  src/mapi/glapi/gen/SConscript | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
> index 4d827b0..b9cdbbf 100644
> --- a/src/mapi/glapi/gen/SConscript
> +++ b/src/mapi/glapi/gen/SConscript
> @@ -38,7 +38,7 @@ env.CodeGenerate(
>      target = '../../../mapi/glapi/glprocs.h',
>      script = 'gl_procs.py',
>      source = sources,
> -    command = python_cmd + ' -c $SCRIPT -f $SOURCE > $TARGET'
> +    command = python_cmd + ' $SCRIPT -c -f $SOURCE > $TARGET'
>      )
>
>  env.CodeGenerate(
> --
> 1.8.1.4
>

This patch fixes the Linux SCons build.

Tested-by: Vinson Lee <vlee at freedesktop.org>


More information about the mesa-dev mailing list