From: Joseph Sutton Date: Thu, 5 May 2022 09:12:05 +0000 (+1200) Subject: wafsamba: Fix previously unreachable exception path X-Git-Tag: talloc-2.3.4~219 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed9d415c08d91d3c16ec7bd35fd8387fbe40df43;p=thirdparty%2Fsamba.git wafsamba: Fix previously unreachable exception path Signed-off-by: Joseph Sutton Reviewed-by: Andreas Schneider --- diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 710b82af663..4bd4e9f7fe3 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -856,7 +856,7 @@ def SAMBA_SUBSYSTEM(bld, modname, source, if provide_builtin_linking: - if use_hostcc or pyext or pyembed: + if use_hostcc: raise Errors.WafError("subsystem[%s] provide_builtin_linking=True " + "not allowed with use_hostcc=True" % modname)