src/wscript
changeset 7583 e42004e38839
parent 7545 ac0569e8cb7d
child 7667 42dda4375d79
child 8339 bfa05e51eecf
--- a/src/wscript	Mon Nov 14 10:59:56 2011 +0100
+++ b/src/wscript	Mon Nov 14 12:19:10 2011 +0000
@@ -168,8 +168,6 @@
 
 
 def ns3_python_bindings(bld):
-    if Options.options.apiscan:
-        return
 
     # this method is called from a module wscript, so remember bld.path is not bindings/python!
     module_abs_src_path = bld.path.abspath()
@@ -177,6 +175,9 @@
     env = bld.env
     env.append_value("MODULAR_BINDINGS_MODULES", "ns3-"+module)
 
+    if Options.options.apiscan:
+        return
+
     if not env['ENABLE_PYTHON_BINDINGS']:
         return