From 91f0ef0320b2016fea819f1e5c63578edd9e67d9 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sat, 26 Jul 2008 15:23:41 +0100 Subject: [PATCH] Only generate everything.h if python bindings are enabled. Based on patch by Mathieu Lacage. Closes #260. --- bindings/python/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index 9713505e6..c691e3fc1 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -301,7 +301,8 @@ def build(bld): #Object.register('all-ns3-headers', AllNs3Headers) Action.Action('gen-ns3-metaheader', func=gen_ns3_metaheader, color='BLUE') - obj = bld.create_obj('all_ns3_headers') + if env['ENABLE_PYTHON_BINDINGS']: + obj = bld.create_obj('all_ns3_headers') if Params.g_options.python_scan: if not env['ENABLE_PYTHON_SCANNING']: