Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream
Renames module to contain Python version in its name.
--- mod_wsgi-4.3.0/Makefile.in 2014-09-14 22:00:29.000000000 +0000
+++ mod_wsgi-4.3.0/Makefile.in 2014-09-18 13:32:39.390320209 +0000
@@ -23,6 +23,8 @@
LDFLAGS = @LDFLAGS@
LDLIBS = @LDLIBS@
+PYTHON_VERSION:=$(shell $(PYTHON) -V 2>&1 | sed -e 's/Python //' | cut -f1,2 -d'.')
+
SRCFILES = src/server/mod_wsgi.c src/server/wsgi_*.c
all : src/server/mod_wsgi.la
@@ -35,6 +37,7 @@
install : all $(DESTDIR)$(LIBEXECDIR)
$(APXS) -i -S LIBEXECDIR=$(DESTDIR)$(LIBEXECDIR) -n 'mod_wsgi' src/server/mod_wsgi.la
+ mv $(DESTDIR)$(LIBEXECDIR)/mod_wsgi.so $(DESTDIR)$(LIBEXECDIR)/mod_wsgi-$(PYTHON_VERSION).so
clean :
-rm -rf src/server/.libs