|
@ -289,7 +289,7 @@ def configure(conf): |
|
|
conf.env.append_value('CXXFLAGS', '-DHAVE_FDATASYNC=0') |
|
|
conf.env.append_value('CXXFLAGS', '-DHAVE_FDATASYNC=0') |
|
|
|
|
|
|
|
|
# platform |
|
|
# 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('CCFLAGS', platform_def) |
|
|
conf.env.append_value('CXXFLAGS', platform_def) |
|
|
conf.env.append_value('CXXFLAGS', platform_def) |
|
|
|
|
|
|
|
@ -521,9 +521,9 @@ def build(bld): |
|
|
bld.install_files('${PREFIX}/lib', "build/default/libnode.*") |
|
|
bld.install_files('${PREFIX}/lib', "build/default/libnode.*") |
|
|
|
|
|
|
|
|
def subflags(program): |
|
|
def subflags(program): |
|
|
x = { 'CCFLAGS' : " ".join(program.env["CCFLAGS"]) |
|
|
x = { 'CCFLAGS' : " ".join(program.env["CCFLAGS"]).replace('"', '\\"') |
|
|
, 'CPPFLAGS' : " ".join(program.env["CPPFLAGS"]) |
|
|
, 'CPPFLAGS' : " ".join(program.env["CPPFLAGS"]).replace('"', '\\"') |
|
|
, 'LIBFLAGS' : " ".join(program.env["LIBFLAGS"]) |
|
|
, 'LIBFLAGS' : " ".join(program.env["LIBFLAGS"]).replace('"', '\\"') |
|
|
, 'PREFIX' : program.env["PREFIX"] |
|
|
, 'PREFIX' : program.env["PREFIX"] |
|
|
} |
|
|
} |
|
|
return x |
|
|
return x |
|
|