aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-04-16 13:57:16 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-04-16 13:57:16 +0400
commit9d99ae317fa7a10eacbcc03689a192ba22ffee3d (patch)
tree617ff0351a71c5c7df0c68ae49941e7dcfb45f84
parentdda23993d64ae2fb0f8740002f7e7ce991f91ee6 (diff)
downloadnode-augeas-9d99ae317fa7a10eacbcc03689a192ba22ffee3d.tar.gz
Bumped minimal augeas version to 0.10; require libxml2
-rw-r--r--wscript9
1 files changed, 6 insertions, 3 deletions
diff --git a/wscript b/wscript
index 47fe1bc..e804115 100644
--- a/wscript
+++ b/wscript
@@ -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']