Fix Python scanning to allow apidefs to be placed on the right module instead of the main ns3module.cc file, for new-style modules

This commit is contained in:
Gustavo J. A. M. Carneiro
2011-01-31 19:03:19 +00:00
parent f08f3f94db
commit caa4f7c3e5

View File

@@ -406,7 +406,7 @@ def get_modules_and_headers(bld):
if ns3headers.module != module_name:
continue
for source in ns3headers.to_list(ns3headers.source):
headers.append(source)
headers.append(os.path.basename(source))
retval[module_name] = (list(module.module_deps), headers)
return retval