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

Brian Paul brianp at vmware.com
Wed Apr 2 12:38:41 PDT 2014


On 04/02/2014 01:30 PM, Ian Romanick 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(
>

Plain scons build seems OK with this.

Tested-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list