From: Stefan Metzmacher Date: Fri, 29 Dec 2023 10:05:18 +0000 (+0000) Subject: wafsamba: fix the usage of --private-extension-exception X-Git-Tag: talloc-2.4.2~155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6da49582c212aefe859c71688a2d7beb72125fa9;p=thirdparty%2Fsamba.git wafsamba: fix the usage of --private-extension-exception It was completely unused... BUG: https://bugzilla.samba.org/show_bug.cgi?id=15545 Signed-off-by: Stefan Metzmacher Reviewed-by: Björn Jacke Reviewed-by: Ralph Boehme --- diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py index 2300565b2e4..029be159b62 100644 --- a/buildtools/wafsamba/samba_bundled.py +++ b/buildtools/wafsamba/samba_bundled.py @@ -10,6 +10,9 @@ def PRIVATE_NAME(bld, name): extension = bld.env.PRIVATE_EXTENSION + if name in bld.env.PRIVATE_EXTENSION_EXCEPTION: + return name + if extension and name.startswith('%s' % extension): return name