Itseez/opencv — pull request #1193 by SpecLad (2013-07-26 10:56:27+00:00)
Title: Fixed the setting of CVAPI_EXPORTS for modules that are always static/shared

Also, removed needless check of `BUILD_SHARED_LIBS` in core; in that case, only the current module's library type matters.