summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorThomas Nagy <tnagy@waf.io>2015-11-19 01:44:43 +0100
committerAndrew Bartlett <abartlet@samba.org>2015-11-24 05:00:27 +0100
commit735cf0683dab129950e2ccddea4d1182bbe3bd4e (patch)
treeb898ac38c761e9e1092f19fd13acd610ec8f3ab6 /buildtools
parentcc4f7e393300d6a2ebcf19afbe0d9cb195320418 (diff)
downloadsamba-735cf0683dab129950e2ccddea4d1182bbe3bd4e.tar.gz
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 <tnagy@waf.io> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_install.py1
1 files changed, 1 insertions, 0 deletions
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