<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - NameError: name 'src' is not defined"
href="https://bugs.freedesktop.org/show_bug.cgi?id=76960#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - NameError: name 'src' is not defined"
href="https://bugs.freedesktop.org/show_bug.cgi?id=76960">bug 76960</a>
from <span class="vcard"><a class="email" href="mailto:brianp@vmware.com" title="Brian Paul <brianp@vmware.com>"> <span class="fn">Brian Paul</span></a>
</span></b>
<pre>Looks like this fixes it for me:
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'
)
None of the other env.CodeGenerate() calls in that file use the -c option.
PS: I didn't test the Linux scons build yesterday.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>