diff --git a/deps/libeio/wscript b/deps/libeio/wscript index d88b245b6b..ef38b807ff 100644 --- a/deps/libeio/wscript +++ b/deps/libeio/wscript @@ -117,6 +117,7 @@ def build(bld): libeio.target = 'eio' libeio.name = 'eio' libeio.includes = '. ../..' + libeio.install_path = None if bld.env["USE_DEBUG"]: libeio.clone("debug"); diff --git a/deps/libev/wscript b/deps/libev/wscript index 06afd2d9de..d3885474f4 100644 --- a/deps/libev/wscript +++ b/deps/libev/wscript @@ -52,6 +52,7 @@ def build(bld): libev.target = 'ev' libev.name = 'ev' libev.includes = '. ../..' + libev.install_path = None if bld.env["USE_DEBUG"]: libev.clone("debug"); diff --git a/wscript b/wscript index 815dc89715..afbd3db2da 100644 --- a/wscript +++ b/wscript @@ -34,7 +34,7 @@ def configure(conf): fatal('ragel not found') exit(1) - conf.env["USE_DEBUG"] = bld.env["USE_DEBUG"] + conf.env["USE_DEBUG"] = Options.options.debug conf.sub_config('deps/libeio') conf.sub_config('deps/libev') @@ -93,7 +93,8 @@ def build(bld): v8 = bld.new_task_gen( target = join("deps/v8", bld.env["staticlib_PATTERN"] % "v8"), rule=v8rule % ( v8dir_src , deps_tgt , v8dir_tgt, "release"), - before="cxx" + before="cxx", + install_path = None ) bld.env["CPPPATH_V8"] = "deps/v8/include" bld.env["LINKFLAGS_V8"] = "-pthread" @@ -119,6 +120,7 @@ def build(bld): oi.name = "oi" oi.target = "oi" oi.uselib = "GNUTLS" + oi.install_path = None if bld.env["USE_DEBUG"]: oi.clone("debug") @@ -128,6 +130,7 @@ def build(bld): ebb.includes = "deps/libebb/" ebb.name = "ebb" ebb.target = "ebb" + ebb.install_path = None if bld.env["USE_DEBUG"]: ebb.clone("debug") @@ -144,6 +147,7 @@ def build(bld): rule=javascript_in_c, before="cxx" ) + native_cc.install_path = None if bld.env["USE_DEBUG"]: native_cc.clone("debug") @@ -168,6 +172,9 @@ def build(bld): """ node.uselib_local = "oi ev eio ebb" node.uselib = "V8 RT" + node.install_path = '${PREFIX}/bin' + node.chmod = 0755 + if bld.env["USE_DEBUG"]: node.clone("debug")