imageworks/OpenColorIO — pull request #175 by dbr (2011-10-30 13:29:43+00:00)
Title: SOVERSION fixes

Fixes the problem described on ocio-dev - https://groups.google.com/group/ocio-dev/browse_thread/thread/51659d347ddf160d

Setting the SOVERSION on the Python plugin causes the "-compatibility_version only allowed with -dynamiclib", which happens because the Python module is compiled with `-bundle` instead of `-dynamiclib`. The link in the comment message explains it better, http://seclists.org/wireshark/2010/Sep/409

> I'm not sure it's appropriate to set those versions for a plugin - they aren't shared libraries, so all the versioning stuff for shared libraries on various platforms still applies. They shouldn't be installed with sonames - it should just be "asn1.so", not "asn1.so.1.5.0" with a symlink to "asn1.so" - and they shouldn't be built with -compatibility_version or -current_version on OS X, or with -soname on platforms using the GNU linker, or with +h on HP-UX with the HP linker, or with -h on Solaris with the Sun linker, and so on.

Amusingly, the error only occurred after the 1.0 bump, because SOVERSION was treated as boolean in `if (SOVERSION)` - fixed a similar line in `src/core/` also