summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/mwld.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/mwld.py')
-rw-r--r--src/engine/SCons/Tool/mwld.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/mwld.py b/src/engine/SCons/Tool/mwld.py
index e84b812..e762d55 100644
--- a/src/engine/SCons/Tool/mwld.py
+++ b/src/engine/SCons/Tool/mwld.py
@@ -85,7 +85,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'):