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