]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
wafsamba: Fix previously unreachable exception path
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 5 May 2022 09:12:05 +0000 (21:12 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 10 May 2022 05:19:34 +0000 (05:19 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/wafsamba.py

index 710b82af663a590408b8b4b98e6b501a30605d12..4bd4e9f7fe31311c6ebd23a293c060fca00250ba 100644 (file)
@@ -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)