Edit generated Makefile in mod_wsgi source code after having run configure.
Look for LDFLAGS, eg:
LDFLAGS = -F/usr/local/python-3.1-dev/frameworks .....
Add '-Wl,' in front of '-F' option to yield:
LDFLAGS = -Wl,-F/usr/local/python-3.1-dev/frameworks .....
That or edit configure.ac and look for:
LDFLAGS1="-F${PYTHONFRAMEWORKPREFIX} -framework ${PYTHONFRAMEWORK}"
and change it to:
LDFLAGS1="-Wl,-F${PYTHONFRAMEWORKPREFIX} -framework ${PYTHONFRAMEWORK}"
Then run 'autoconf' in that directory and then run 'configure' again.
That restores line back to what it was for mod_wsgi 2.3 again. When
some other lines related to '-Wl,' were commented out due it breaking
Linux platforms, that should have been restored.
Is a chance now this will stop working again for MacPorts and/or Apache 2.3.
Graham