From ccf2a04ea2b004af58a2e599965b08e94bbe47d3 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 17 Oct 2010 22:57:40 -0700 Subject: [PATCH] Install ev.h and eio.h --- deps/libeio/wscript | 16 ++++++++-------- deps/libev/wscript | 15 ++++++++------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/deps/libeio/wscript b/deps/libeio/wscript index 7de405c476..86616227d2 100644 --- a/deps/libeio/wscript +++ b/deps/libeio/wscript @@ -8,12 +8,12 @@ def configure(conf): conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE']) def build(bld): - cares = bld.new_task_gen("cc") - cares.source = "eio.c" - cares.target = 'eio' - cares.name = 'eio' - cares.includes = '. ./' + bld.env['DEST_OS'] - cares.install_path = None + libeio = bld.new_task_gen("cc") + libeio.source = "eio.c" + libeio.target = 'eio' + libeio.name = 'eio' + libeio.includes = '. ./' + bld.env['DEST_OS'] + libeio.install_path = None if bld.env["USE_DEBUG"]: - cares.clone("debug"); - + libeio.clone("debug"); + bld.install_files('${PREFIX}/include/node/', 'eio.h'); diff --git a/deps/libev/wscript b/deps/libev/wscript index ed607564e7..68f7b673e9 100644 --- a/deps/libev/wscript +++ b/deps/libev/wscript @@ -8,12 +8,13 @@ def configure(conf): conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1']) def build(bld): - cares = bld.new_task_gen("cc") - cares.source = "ev.c" - cares.target = 'ev' - cares.name = 'ev' - cares.includes = '. ./' + bld.env['DEST_OS'] - cares.install_path = None + libev = bld.new_task_gen("cc") + libev.source = "ev.c" + libev.target = 'ev' + libev.name = 'ev' + libev.includes = '. ./' + bld.env['DEST_OS'] + libev.install_path = None if bld.env["USE_DEBUG"]: - cares.clone("debug"); + libev.clone("debug"); + bld.install_files('${PREFIX}/include/node/', 'ev.h');