summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2022-05-27 16:35:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2022-05-27 16:35:26 (GMT)
commit5c72f41a11b52d5840cab461d2e73e150d829e94 (patch)
tree8c7694c7f74a5f75ccf1d3d3b4be4f41fd49ea4b /plugins/pychrysalide/gtkext
parent89f802045b71299ba70a8df17ca09d5fcc37cf99 (diff)
Keep only one definition of _PyGObject_API.
Diffstat (limited to 'plugins/pychrysalide/gtkext')
-rw-r--r--plugins/pychrysalide/gtkext/Makefile.am2
-rw-r--r--plugins/pychrysalide/gtkext/graph/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/gtkext/Makefile.am b/plugins/pychrysalide/gtkext/Makefile.am
index 77cce65..9126d78 100644
--- a/plugins/pychrysalide/gtkext/Makefile.am
+++ b/plugins/pychrysalide/gtkext/Makefile.am
@@ -22,7 +22,7 @@ dev_HEADERS = $(libpychrysagtkext_la_SOURCES:%c=)
AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) $(LIBPYTHON_CFLAGS) $(LIBPYGOBJECT_CFLAGS) \
- -I$(top_srcdir)/src
+ -I$(top_srcdir)/src -DNO_IMPORT_PYGOBJECT
AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)
diff --git a/plugins/pychrysalide/gtkext/graph/Makefile.am b/plugins/pychrysalide/gtkext/graph/Makefile.am
index 7e9b5e5..46de716 100644
--- a/plugins/pychrysalide/gtkext/graph/Makefile.am
+++ b/plugins/pychrysalide/gtkext/graph/Makefile.am
@@ -16,6 +16,6 @@ dev_HEADERS = $(libpychrysagtkextgraph_la_SOURCES:%c=)
AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) $(LIBPYTHON_CFLAGS) $(LIBPYGOBJECT_CFLAGS) \
- -I$(top_srcdir)/src
+ -I$(top_srcdir)/src -DNO_IMPORT_PYGOBJECT
AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)