Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk. Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
we used to have -llocalmail in our link line. but that's a component, so that's
wrong, so mcafee removed it. but we weren't linking against liblocalmail.so, we were actually linking in liblocalmail.a. but briano's change to mozilla/config/rules.mk made it so liblocalmail.a got moved into dist/lib/components, so now
we need to explictly link against this .a
the problem is in this .a is a class that we need. mscott is working on
the right fix, and he'll remove this when he re-arranges the code.