Skip to content
Browse files

Make libpcap extra mandantory.

  • Loading branch information...
1 parent 34874eb commit 27833909d1890cf784f3feef2e3007cfa9d92cbd @mranney committed Dec 5, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 wscript
View
3 wscript
@@ -8,7 +8,8 @@ def set_options(opt):
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
- conf.check(lib="pcap", mandantory=True)
+ if not conf.check(lib="pcap", mandantory=True):
+ conf.fatal("libpcap C library not found on this system.")
def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")

0 comments on commit 2783390

Please sign in to comment.
Something went wrong with that request. Please try again.