GNOME Bugzilla – Bug 626996
duplicate symbol _PyGObject_API in gi object files
Last modified: 2010-08-16 07:58:34 UTC
When building for OSX, pygobject compilation fails with an error "duplicate symbol _PyGObject_API in _gi_la_pygi-info.o and _gi_la_pygi-repository.o" This is corrected by the following patch: diff --git a/gi/pygi.h b/gi/pygi.h index 96a0dde..93b5322 100644 --- a/gi/pygi.h +++ b/gi/pygi.h @@ -22,6 +22,7 @@ #ifndef __PYGI_H__ #define __PYGI_H__ +#define NO_IMPORT_PYGOBJECT #include <config.h> #include <pygobject.h>
Pushed, thanks!