[Mesa-dev,Bug,76960] NameError: name 'src' is not defined

Submitted by bugzilla-daemon@freedesktop.org on April 2, 2014, 7:13 p.m.

Details

Message ID bug-76960-598-sSxeQi2rcp@http.bugs.freedesktop.org/
State New
Headers show

Not browsing as part of any series.

Commit Message

bugzilla-daemon@freedesktop.org April 2, 2014, 7:13 p.m.
https://bugs.freedesktop.org/show_bug.cgi?id=76960

--- Comment #3 from Brian Paul <brianp@vmware.com> ---
Looks like this fixes it for me:

None of the other env.CodeGenerate() calls in that file use the -c option.

PS: I didn't test the Linux scons build yesterday.

Patch hide | download patch | download mbox

diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index 4d827b0..e4abe90 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 -f $SOURCE > $TARGET'
     )