mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
20 lines
386 B
Python
20 lines
386 B
Python
import Options
|
|
import platform
|
|
|
|
def set_options(opt):
|
|
pass
|
|
|
|
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
|
|
if bld.env["USE_DEBUG"]:
|
|
cares.clone("debug");
|
|
|