diff options
Diffstat (limited to 'scons/crossmingw.py')
-rw-r--r-- | scons/crossmingw.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py index 34129450a56..609cd00418e 100644 --- a/scons/crossmingw.py +++ b/scons/crossmingw.py @@ -83,7 +83,7 @@ def shlib_emitter(target, source, env): no_import_lib = env.get('no_import_lib', 0) if not dll: - raise SCons.Errors.UserError, "A shared library should have exactly one target with the suffix: %s" % env.subst("$SHLIBSUFFIX") + raise SCons.Errors.UserError("A shared library should have exactly one target with the suffix: %s" % env.subst("$SHLIBSUFFIX")) if not no_import_lib and \ not env.FindIxes(target, 'LIBPREFIX', 'LIBSUFFIX'): |