radv: Don't free NIR shaders if tracing
[mesa.git] / scons / crossmingw.py
index 34129450a56cdf14d8da50242c9c5b7a40a37c5c..609cd00418e4ce9e8f1d3f4d71366822af5adda6 100644 (file)
@@ -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'):