zinnschlag/openmw — pull request #355 by psi29a (2012-09-14 15:02:01+00:00)
Title: make it statically compilable

This should correct the 'blocker' of statically compiling for:
http://bugs.openmw.org/issues/373

The memory leak is another issue. However, in reviewing the documentation on the root object, the unload and uninstall are done automatically when Ogre shuts down.

source:
http://www.ogre3d.org/docs/api/html/classOgre_1_1Root.html#a23417d6cbe7aeeafcc6a1a146a5e7b95

We can always do it manually, should be trivial to iterate over the list provided by mRoot->getInstalledPlugins()