Compile OpenCV with GCC visibility set to hidden
This commit is contained in:

committed by
Andrey Pavlenko

parent
8130d92602
commit
b8ed00bd64
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user