diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2014-04-28 20:25:30 -0700 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-09-29 23:16:32 -0400 |
commit | ae198873254769bd49207003d25b47d12b096e2f (patch) | |
tree | 5c192285bbcb92e400c38307ce72a1f96e1c4270 /Makefile-giscanner.am | |
parent | d59b3827d2bb62c1ed4db8030ed9e8e753b7f52d (diff) | |
download | gobject-introspection-ae198873254769bd49207003d25b47d12b096e2f.tar.gz |
giscanner: Port scanner extension module to work with Python 3
Define portable macros for use between Python 2 and 3.
Replace usage of PyString related functions with PyBytes.
Update pygi_source_scanner_parse_macros to support both
PyBytes and PyUnicode.
https://bugzilla.gnome.org/show_bug.cgi?id=679438
Diffstat (limited to 'Makefile-giscanner.am')
-rw-r--r-- | Makefile-giscanner.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile-giscanner.am b/Makefile-giscanner.am index 5bc84253..b0e13732 100644 --- a/Makefile-giscanner.am +++ b/Makefile-giscanner.am @@ -114,7 +114,8 @@ _giscanner_la_CFLAGS = \ _giscanner_la_LIBADD = libgiscanner.la $(GOBJECT_LIBS) _giscanner_la_LDFLAGS = \ - -module -avoid-version -export-symbols-regex init_giscanner + -module -avoid-version \ + -export-symbols-regex "init_giscanner|PyInit__giscanner" if OS_WIN32 # Windows requires Python extension modules to be explicitly |