wscript_build: fix c modules deps name for Python 3
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 28 Mar 2018 02:53:50 +0000 (15:53 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 5 Apr 2018 06:59:09 +0000 (08:59 +0200)
commitd28379dc4acef6ddb887a2ead0c22e9f93a8aa50
treeb5de2b6fa0bf590c4668efc4eb25ccdd3040a65c
parentfe9e62935c459e4cdab0cefea1412614dd1969a8
wscript_build: fix c modules deps name for Python 3

In wscript_build, the lib name in deps list may have postfix for Python
3. Instead of hard coding the base name directly, need to load correct
name for each Python version with `bld.pyembed_libname`.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source3/param/wscript_build
source3/passdb/wscript_build
source3/wscript_build
source4/lib/policy/wscript_build