buildtools/wafsamba: use CACHE_SUFFIX instead of a hard-coded name
authorAlexander Bokovoy <ab@samba.org>
Mon, 3 Sep 2018 10:04:58 +0000 (13:04 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:27 +0000 (06:37 +0200)
commit72c3ff9ae2090652e9f3e77374494103e1fd2723
tree6abe79eeadb8e2d7509006245de9ff856ff5e25b
parent6fc9f1a89d2826f690db2118703935e48e01b2d3
buildtools/wafsamba: use CACHE_SUFFIX instead of a hard-coded name

waflib.Build provides CACHE_SUFFIX constant to append to the target
name. We have a reference to samba-specific cache suffix (.cache.py)
while original WAF uses _cache.py as a cache suffix since 2011 (see
commit 44a967e326cc2e670a31b3712e4763b72d65e81b in WAF project code).

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_utils.py