Fix a typo in the WAF scripts; don't access m_linktask directly, use the get_target_name() method instead (to make it work with waf trunk).

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-02-17 14:02:45 +00:00
parent 49d1a39d16
commit 2a3e635cd1
2 changed files with 6 additions and 5 deletions

View File

@@ -13,8 +13,7 @@ def build(bld):
env = bld.env_of_name('default')
unit_tests = bld.create_ns3_program('run-tests', ['common'])
unit_tests.install_var = 0 # do not install
unit_tests.unit_test = 1 # runs on 'waf check'
unit_tests.inst_var = 0 # do not install
unit_tests.source = 'run-tests.cc'
## link unit test program with all ns3 modules
unit_tests.uselib_local = 'ns3'