summaryrefslogtreecommitdiff
path: root/plugins/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-06-19 22:34:34 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-06-19 22:34:34 (GMT)
commit2a7c16cfa1be2a1c90be2fb29650eb2e10ab1728 (patch)
treee0983d6cff601ef4cd3a7d25ea46863d2b6c63d2 /plugins/elf
parent72b1c890ed19ebd7780e634d4874d12a619f259e (diff)
Updated Makefiles to create only one _PyGObject_API structure.
Diffstat (limited to 'plugins/elf')
-rw-r--r--plugins/elf/Makefile.am2
-rw-r--r--plugins/elf/python/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/elf/Makefile.am b/plugins/elf/Makefile.am
index fb95824..084e7b5 100644
--- a/plugins/elf/Makefile.am
+++ b/plugins/elf/Makefile.am
@@ -32,7 +32,7 @@ devdir = $(includedir)/chrysalide-$(subdir)
dev_HEADERS = $(libelf_la_SOURCES:%c=)
-AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBPYTHON_CFLAGS) $(LIBPYGOBJECT_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src
+AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src
AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)
diff --git a/plugins/elf/python/Makefile.am b/plugins/elf/python/Makefile.am
index 4912254..c777dc1 100644
--- a/plugins/elf/python/Makefile.am
+++ b/plugins/elf/python/Makefile.am
@@ -20,6 +20,6 @@ dev_HEADERS = $(libelfpython_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)