buildtools: Expose the Python 3 ABI tag
authorPetr Viktorin <pviktori@redhat.com>
Wed, 6 May 2015 10:45:42 +0000 (12:45 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 May 2015 17:28:18 +0000 (19:28 +0200)
commit13a91e542737562e26368ca6a359cb20026bb724
treea33a82b52aec39f28b6dead208462a1d8a3c9e22
parentcd6615ecbd43d53fa353a18bd6db2291b086de2d
buildtools: Expose the Python 3 ABI tag

Expose the tag in the env to allow using it in pkg-config files

Add a "pyembed_libname" function to correctly form library names.
(This can't be done automatically in SAMBA_LIBRARY because the name
could be used as a dependency for another library)

Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
buildtools/wafsamba/samba_python.py