summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-05-05 21:12:05 +1200
committerAndreas Schneider <asn@cryptomilk.org>2022-05-10 05:19:34 +0000
commited9d415c08d91d3c16ec7bd35fd8387fbe40df43 (patch)
tree54653aefdc2f328929d6b0cc2541641eca6a0b2f /buildtools
parentba54c9cc067993aed21e97618cc0f1f58a5034e8 (diff)
downloadsamba-ed9d415c08d91d3c16ec7bd35fd8387fbe40df43.tar.gz
wafsamba: Fix previously unreachable exception path
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 1 insertions, 1 deletions
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)