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