buildtools: Use all of pyext_PATTERN in map_shlib_extension
commit78cdd5ea7ddf265d8143c8d9dc42934889618dd1
authorPetr Viktorin <pviktori@redhat.com>
Wed, 12 Nov 2014 18:49:45 +0000 (12 19:49 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 24 Apr 2015 02:26:45 +0000 (24 04:26 +0200)
treefe3074ebbb6028814390f50be5df1af3b39d8739
parentcc491fb080882e36f549fd0a348800431ccb3074
buildtools: Use all of pyext_PATTERN in map_shlib_extension

In Python 3, C extension module filenames have an ABI tag;
the pyext_PATTERN is e.g. "%s.cpython-34m.so".
The build system was only using the last dot-separated element
of that extension (the ".so").

Use the whole extension when constructing the final filename.

Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Apr 24 04:26:45 CEST 2015 on sn-devel-104
buildtools/wafsamba/samba_utils.py