util: rtnetlink-based implementation of NetworkMonitor
Change-Id: Ia25ddf14ba38181f3a831c1eaf9b417baba7c9d3
Refs: #2443
diff --git a/wscript b/wscript
index 0000b7c..d4fcb82 100644
--- a/wscript
+++ b/wscript
@@ -64,6 +64,10 @@
}
''')
+ conf.check_cxx(msg='Checking for rtnetlink', mandatory=False,
+ define_name='HAVE_RTNETLINK',
+ header_name=['netinet/in.h', 'linux/netlink.h', 'linux/rtnetlink.h', 'net/if.h'])
+
conf.check_osx_security(mandatory=False)
conf.check_sqlite3(mandatory=True)
@@ -192,7 +196,7 @@
bld.recurse("examples")
headers = bld.path.ant_glob(['src/**/*.hpp'],
- excl=['src/**/*-osx.hpp', 'src/detail/*'])
+ excl=['src/**/*-osx.hpp', 'src/detail/**/*'])
if bld.env['HAVE_OSX_SECURITY']:
headers += bld.path.ant_glob('src/**/*-osx.hpp')