Compile OpenCV with GCC visibility set to hidden

This commit is contained in:
Andrey Kamaev
2013-04-18 10:30:15 +04:00
committed by Andrey Pavlenko
parent 8130d92602
commit b8ed00bd64
16 changed files with 42 additions and 85 deletions

View File

@@ -1205,11 +1205,7 @@ static int to_ok(PyTypeObject *to)
return (PyType_Ready(to) == 0);
}
extern "C"
#if defined WIN32 || defined _WIN32
__declspec(dllexport)
#endif
void initcv2();
extern "C" CV_EXPORTS void initcv2();
void initcv2()
{