Blame SOURCES/mod_wsgi-4.5.20-exports.patch

a9fdea
--- mod_wsgi-4.5.20/Makefile.in.exports
a9fdea
+++ mod_wsgi-4.5.20/Makefile.in
a9fdea
@@ -28,7 +28,7 @@
a9fdea
 all : src/server/mod_wsgi.la
a9fdea
 
a9fdea
 src/server/mod_wsgi.la : $(SRCFILES)
a9fdea
-	$(APXS) -c $(CPPFLAGS) $(CFLAGS) $(SRCFILES) $(LDFLAGS) $(LDLIBS)
a9fdea
+	$(APXS) -Wl,-export-symbols-regex -Wl,wsgi_module -c $(CPPFLAGS) $(CFLAGS) $(SRCFILES) $(LDFLAGS) $(LDLIBS)
a9fdea
 
a9fdea
 $(DESTDIR)$(LIBEXECDIR) :
a9fdea
 	mkdir -p $@