Skip to content

Commit

Permalink
fix configure check of inotify header
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Aug 17, 2010
1 parent 3f9725f commit 1ebe7e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
conf.find_program('node', var='NODE', mandatory=True)
if conf.check_cc(header_name="sys/inotify.h"):
conf.check_cc(header_name="linux/inotify.h", function_name="inotify_init")
conf.check_cxx(header_name="sys/inotify.h", function_name="inotify_init")

def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
Expand Down

0 comments on commit 1ebe7e1

Please sign in to comment.