diff options
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -5,15 +5,18 @@ def configure(conf): conf.check_tool('compiler_cxx') conf.check_tool('node_addon') conf.check_cfg(package='augeas', - atleast_version='0.9', + atleast_version='0.10', args='--cflags --libs', mandatory=True) -# TODO: if version >= 0.10 we need libxml (namely -I /usr/include/libxml2) + # libxml2 is required sunce 0.10: + conf.check_cfg(package='libxml-2.0', + args='--cflags --libs', + mandatory=True) def build(bld): obj = bld.new_task_gen('cxx', 'shlib', 'node_addon') obj.cxxflags = ['-I/usr/include/libxml2'] obj.target = 'libaugeas' obj.source = 'libaugeas.cc' - obj.uselib = ['AUGEAS'] + obj.uselib = ['AUGEAS', 'LIBXML-2.0'] |
