Fix build of Python bindings on systems with no support for TabBridge

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2009-02-23 16:07:46 +00:00
1 parent cf22518549
commit 9cf0988230
1 file changed
+4
+4
View File
@@ -142,6 +142,10 @@ def main():
root_module.classes.remove(root_module['ns3::%s' % clsname])
root_module.enums.remove(root_module['ns3::RealtimeSimulatorImpl::SynchronizationMode'])
if 'TapBridge' not in enabled_features:
for clsname in ['TapBridge', 'TapBridgeHelper']:
root_module.classes.remove(root_module['ns3::%s' % clsname])
root_module.generate(out, '_ns3')
out.close()