python: Build extension with PEP-3149 compliant suffix if defined.

This commit is contained in:
Hilko Bengen
2013-06-04 00:31:57 +02:00
parent 7912e2936b
commit b7cd34eb77
2 changed files with 10 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ libguestfsmod_la_LIBADD = \
$(LIBVIRT_LIBS) \
../gnulib/lib/libgnu.la
libguestfsmod_la_LDFLAGS = -avoid-version -shared
libguestfsmod_la_LDFLAGS = -avoid-version -shared -module -shrext $(PYTHON_EXT_SUFFIX)
TESTS_ENVIRONMENT = $(top_builddir)/run --test