From 0338e82c40aa5e972b58fa028996f87340b8e1d9 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 2 Jul 2010 12:45:09 -0700 Subject: [PATCH] Allow headers to be in subdirectories with respect to wscript --- bindings/python/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index 68f7fe40b..d62573b49 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -365,7 +365,7 @@ class all_ns3_headers_taskgen(TaskGen.task_gen): for source in ns3headers.to_list(ns3headers.source): #source = os.path.basename(source) - node = ns3_dir_node.find_or_declare(source) + node = ns3_dir_node.find_or_declare(os.path.basename(source)) if node is None: raise Utils.WafError("missing header file %s" % (source,)) all_headers_inputs.append(node)