diff options
author | Vijay Kumar Banerjee <vijaykumar9597@gmail.com> | 2019-09-18 23:44:05 +0530 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-09-19 08:21:43 +1000 |
commit | 470597bb69ffe978aeeabd284d4c290fda11cd27 (patch) | |
tree | 4787eda5b8c3bd39aa98d08d913710b4843abed4 /rtems.py | |
parent | dl: Add dynamicly loaded app support. (diff) | |
download | rtems_waf-470597bb69ffe978aeeabd284d4c290fda11cd27.tar.bz2 |
rtems.py: Fix typo
Diffstat (limited to 'rtems.py')
-rw-r--r-- | rtems.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -326,7 +326,7 @@ def check_cc(conf, *k, **kw): kw['fragment'] = test_application() conf.check_cc(*k, **kw) -def check_lib_path(ctx, lib, libpath = [], manditory = True): +def check_lib_path(ctx, lib, libpath = [], mandatory = True): lib_lib = 'lib%s.a' % (lib) ctx.start_msg('Library %s' % (lib_lib)) cmd = '%s %s %s -print-file-name=%s' % (' '.join(ctx.env.CC), @@ -336,7 +336,7 @@ def check_lib_path(ctx, lib, libpath = [], manditory = True): out = ctx.cmd_and_log(cmd) out = os.path.normpath(out.strip()) if out == lib_lib: - if manditory: + if mandatory: ctx.fatal('The library %s not found' % (lib_lib)) ctx.end_msg('not found') else: |