Browse Source

Install ev.h and eio.h

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
ccf2a04ea2
  1. 16
      deps/libeio/wscript
  2. 15
      deps/libev/wscript

16
deps/libeio/wscript

@ -8,12 +8,12 @@ def configure(conf):
conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE']) conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE'])
def build(bld): def build(bld):
cares = bld.new_task_gen("cc") libeio = bld.new_task_gen("cc")
cares.source = "eio.c" libeio.source = "eio.c"
cares.target = 'eio' libeio.target = 'eio'
cares.name = 'eio' libeio.name = 'eio'
cares.includes = '. ./' + bld.env['DEST_OS'] libeio.includes = '. ./' + bld.env['DEST_OS']
cares.install_path = None libeio.install_path = None
if bld.env["USE_DEBUG"]: if bld.env["USE_DEBUG"]:
cares.clone("debug"); libeio.clone("debug");
bld.install_files('${PREFIX}/include/node/', 'eio.h');

15
deps/libev/wscript

@ -8,12 +8,13 @@ def configure(conf):
conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1']) conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1'])
def build(bld): def build(bld):
cares = bld.new_task_gen("cc") libev = bld.new_task_gen("cc")
cares.source = "ev.c" libev.source = "ev.c"
cares.target = 'ev' libev.target = 'ev'
cares.name = 'ev' libev.name = 'ev'
cares.includes = '. ./' + bld.env['DEST_OS'] libev.includes = '. ./' + bld.env['DEST_OS']
cares.install_path = None libev.install_path = None
if bld.env["USE_DEBUG"]: if bld.env["USE_DEBUG"]:
cares.clone("debug"); libev.clone("debug");
bld.install_files('${PREFIX}/include/node/', 'ev.h');

Loading…
Cancel
Save