Make NDNabstraction depending on 'visualizer' when python bindings are
enabled, and not depending on 'visualizer' otherwise.
diff --git a/wscript b/wscript
index 94a4269..a16b857 100644
--- a/wscript
+++ b/wscript
@@ -28,8 +28,13 @@
def build(bld):
- module = bld.create_ns3_module ('NDNabstraction', ['core', 'network', 'point-to-point',
- 'topology-read','internet','applications','visualizer'])
+ deps = ['core', 'network', 'point-to-point',
+ 'topology-read','internet','applications',
+ 'point-to-point-layout']
+ if bld.env['ENABLE_PYTHON_BINDINGS']:
+ deps.append ('visualizer')
+
+ module = bld.create_ns3_module ('NDNabstraction', deps)
module.uselib = 'BOOST BOOST_IOSTREAMS'
tests = bld.create_ns3_module_test_library('NDNabstraction')