From caa4f7c3e5bfa15b287983169ee9eba02623e72e Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Mon, 31 Jan 2011 19:03:19 +0000 Subject: [PATCH] Fix Python scanning to allow apidefs to be placed on the right module instead of the main ns3module.cc file, for new-style modules --- bindings/python/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index 34e2ce370..8afd1823d 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -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