From 735cf0683dab129950e2ccddea4d1182bbe3bd4e Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Thu, 19 Nov 2015 01:44:43 +0100 Subject: [PATCH] build:wafsamba: Ensure that target clones get a different name Changing the 'target' attribute results in a different file name, which is visibly necessary. Yet the 'name' attribute should also be modified even if invisible as it is used to query targets (uselib for example). Failing to do so results in errors in Waf 1.8. Signed-off-by: Thomas Nagy Reviewed-by: Andrew Bartlett Reviewed-by: Michael Adam --- buildtools/wafsamba/samba_install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index 8297ce4f9c0..21035bf29db 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -92,6 +92,7 @@ def install_library(self): t = self.clone(self.env) t.posted = False t.target += '.inst' + t.name = self.name + '.inst' self.env.RPATH = build_ldflags else: t = self -- 2.34.1