diff --git a/Objects/object.c b/Objects/object.c index 4899ef18fcd..fa35b80849a 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -572,3 +572,7 @@ getobjects(self, args) } #endif + + +/* Hack to force loading of cobject.o */ +static PyTypeObject *cobject_hack = &PyCObject_Type;