diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-08-19 00:16:32 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-08-19 00:16:32 +0400 |
commit | 5bce8ed11862048e317e18031f2d64599323564a (patch) | |
tree | fc2165e7dfb01f9960c89b349e02615bd96d5ce1 /wscript | |
parent | 2b126da395142f6ffad7ce1c6349056a707d86b4 (diff) |
Fix process.platform
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -289,7 +289,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-DHAVE_FDATASYNC=0') # platform - platform_def = '-DPLATFORM=' + conf.env['DEST_OS'] + platform_def = '-DPLATFORM="' + conf.env['DEST_OS'] + '"' conf.env.append_value('CCFLAGS', platform_def) conf.env.append_value('CXXFLAGS', platform_def) @@ -521,9 +521,9 @@ def build(bld): bld.install_files('${PREFIX}/lib', "build/default/libnode.*") def subflags(program): - x = { 'CCFLAGS' : " ".join(program.env["CCFLAGS"]) - , 'CPPFLAGS' : " ".join(program.env["CPPFLAGS"]) - , 'LIBFLAGS' : " ".join(program.env["LIBFLAGS"]) + x = { 'CCFLAGS' : " ".join(program.env["CCFLAGS"]).replace('"', '\\"') + , 'CPPFLAGS' : " ".join(program.env["CPPFLAGS"]).replace('"', '\\"') + , 'LIBFLAGS' : " ".join(program.env["LIBFLAGS"]).replace('"', '\\"') , 'PREFIX' : program.env["PREFIX"] } return x |