Apply PTW32_STATIC_LIB define to debug build of eio

pull/5370/head
Igor Zinkovsky 2011-07-15 17:46:56 -07:00 committed by Ryan Dahl
parent 5709643289
commit d798866917
1 changed files with 2 additions and 0 deletions

View File

@ -632,6 +632,8 @@ def build_uv(bld):
if bld.env["USE_DEBUG"]:
uv_debug = uv.clone("debug")
uv_debug.rule = uv_cmd(bld, 'debug')
uv_debug.env.env = dict(os.environ)
uv_debug.env.env['CPPFLAGS'] = "-DPTW32_STATIC_LIB"
t = join(bld.srcnode.abspath(bld.env_of_name("debug")), uv_debug.target)
bld.env_of_name('debug').append_value("LINKFLAGS_UV", t)