mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
get 'make install' working
This commit is contained in:
1 parent
f17ecf20be
commit
8e7bbf26e2
3 files changed
+11
-2
No files matched your search
Vendored
+1
@@ -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");
|
||||
|
||||
Vendored
+1
@@ -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");
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user