Modular bindings: add missing dep on the modulegen_customizations.py file, when found

This commit is contained in:
Gustavo J. A. M. Carneiro
2011-03-27 22:50:00 +01:00
parent f552f18f06
commit 5787b9bf36

View File

@@ -192,6 +192,9 @@ def ns3_python_bindings(bld):
source = [bld.srcnode.find_resource('bindings/python/ns3modulegen-modular.py').relpath_gen(bld.path),
"bindings/modulegen__%s.py" % apidefs]
if bindings_dir.find_resource("modulegen_customizations.py") is not None:
source.append("bindings/modulegen_customizations.py")
# the local customization file may or not exist
if bld.path.find_resource("bindings/modulegen_local.py"):
source.append("bindings/modulegen_local.py")