Skip to content
This repository
Newer
Older
100644 18 lines (15 sloc) 0.49 kb
50b4a523 »
2010-05-19 Initial version that barely works.
1 srcdir = "."
2 blddir = "build"
3 VERSION = "0.0.1"
4
5 def set_options(opt):
6 opt.tool_options("compiler_cxx")
7
8 def configure(conf):
9 conf.check_tool("compiler_cxx")
10 conf.check_tool("node_addon")
27833909 »
2010-12-05 Make libpcap extra mandantory.
11 if not conf.check(lib="pcap", mandantory=True):
12 conf.fatal("libpcap C library not found on this system.")
50b4a523 »
2010-05-19 Initial version that barely works.
13
14 def build(bld):
15 obj = bld.new_task_gen("cxx", "shlib", "node_addon")
6d5d6084 »
2010-06-11 Change binding module name to pcap_binding.node
16 obj.target = "pcap_binding"
17 obj.source = "pcap_binding.cc"
50b4a523 »
2010-05-19 Initial version that barely works.
18 obj.linkflags = ['-lpcap']
Something went wrong with that request. Please try again.