Bug 1076 - Waf gives an error if you enable only a single module

This commit is contained in:
Gustavo J. A. M. Carneiro
2011-03-20 13:01:40 +00:00
parent ffbc5737b3
commit ba1990146c
2 changed files with 17 additions and 2 deletions

View File

@@ -280,7 +280,6 @@ def configure(conf):
env['WL_SONAME_SUPPORTED'] = True
conf.sub_config('src')
conf.sub_config('bindings/python')
# Set the list of enabled modules.
if Options.options.enable_modules:
@@ -296,6 +295,7 @@ def configure(conf):
# Enable the modules from the list.
conf.env['NS3_ENABLED_MODULES'] = ['ns3-'+mod for mod in
modules_enabled]
conf.sub_config('bindings/python')
# for MPI
conf.find_program('mpic++', var='MPI')