Fix waf --check error when python bindings are not enabled
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed Sep 09 11:31:16 2009 +0100 (5 months ago)
changeset 476920b06b8aa302
parent 4768 f05ccb34aabc
child 4770 d21013536be3
Fix waf --check error when python bindings are not enabled
wscript
     1.1 --- a/wscript	Tue Sep 08 18:45:44 2009 +0200
     1.2 +++ b/wscript	Wed Sep 09 11:31:16 2009 +0100
     1.3 @@ -555,7 +555,9 @@
     1.4          regression.run_regression(bld, regression_traces)
     1.5  
     1.6      if Options.options.check:
     1.7 -        Options.options.compile_targets += ',run-tests,ns3module'
     1.8 +        Options.options.compile_targets += ',run-tests'
     1.9 +        if env['ENABLE_PYTHON_BINDINGS']:
    1.10 +            Options.options.compile_targets += ',ns3module'
    1.11          _run_check(bld)
    1.12  
    1.13