Reduce visibility of Bullet symbols in PyBullet
Avoids version conflicts in programs using PyBullet, which also link against Bullet libraries
This commit is contained in:
@@ -10842,6 +10842,9 @@ static struct PyModuleDef moduledef = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if __GNUC__ >= 4
|
||||
__attribute__((visibility ("default")))
|
||||
#endif
|
||||
PyMODINIT_FUNC
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
PyInit_pybullet(void)
|
||||
|
||||
Reference in New Issue
Block a user