Make sure we don't trigger deprecation warnings while compiling the python bindings.

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-07-11 19:32:22 +01:00
parent 9d5d168444
commit 8356645d0a

View File

@@ -348,6 +348,7 @@ def build(bld):
pymod.target = 'ns3/_ns3'
pymod.name = 'ns3module'
pymod.uselib_local = "ns3"
pymod.env.append_value('CXXDEFINES', ['NS_DEPRECATED=""', 'NS3_DEPRECATED_H'])
# copy the __init__.py file to the build dir waf can't handle
# this, it's against waf's principles to have build dir files