build:wafsamba: Ensure that target clones get a different name
authorThomas Nagy <tnagy@waf.io>
Thu, 19 Nov 2015 00:44:43 +0000 (01:44 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Nov 2015 04:00:27 +0000 (05:00 +0100)
commit735cf0683dab129950e2ccddea4d1182bbe3bd4e
treeb898ac38c761e9e1092f19fd13acd610ec8f3ab6
parentcc4f7e393300d6a2ebcf19afbe0d9cb195320418
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>
buildtools/wafsamba/samba_install.py