Fix issue with waf --apiscan=all
This commit is contained in:
@@ -168,8 +168,6 @@ def create_obj(bld, *args):
|
||||
|
||||
|
||||
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 @@ def ns3_python_bindings(bld):
|
||||
env = bld.env
|
||||
env.append_value("MODULAR_BINDINGS_MODULES", "ns3-"+module)
|
||||
|
||||
if Options.options.apiscan:
|
||||
return
|
||||
|
||||
if not env['ENABLE_PYTHON_BINDINGS']:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user