rename conf to ctx in wscript

This commit is contained in:
Mark Cavage
2011-08-30 14:40:55 -07:00
parent f028d034af
commit 3b9af59896
+1 -1
View File
@@ -13,7 +13,7 @@ def configure(ctx):
ctx.check_tool('compiler_cxx')
ctx.check_tool('node_addon')
if sys.platform.startswith("sunos") or sys.platform.startswith("darwin"):
conf.env.append_value('CXXFLAGS', ['-D_HAVE_DTRACE'])
ctx.env.append_value('CXXFLAGS', ['-D_HAVE_DTRACE'])
def build(ctx):
t = ctx.new_task_gen('cxx', 'shlib', 'node_addon')