summaryrefslogtreecommitdiff
path: root/plugins/dexbnf
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/dexbnf
parent72b1c890ed19ebd7780e634d4874d12a619f259e (diff)
Updated Makefiles to create only one _PyGObject_API structure.
Diffstat (limited to 'plugins/dexbnf')
-rw-r--r--plugins/dexbnf/Makefile.am2
-rw-r--r--plugins/dexbnf/python/Makefile.am2
2 files changed, 1 insertions, 3 deletions
diff --git a/plugins/dexbnf/Makefile.am b/plugins/dexbnf/Makefile.am
index f6081d7..677e4a6 100644
--- a/plugins/dexbnf/Makefile.am
+++ b/plugins/dexbnf/Makefile.am
@@ -12,8 +12,6 @@ libdexbnf_la_SOURCES = \
shorty.h shorty.c \
type.h type.c
-libdexbnf_la_CFLAGS = $(AM_CFLAGS)
-
libdexbnf_la_LIBADD = \
python/libdexbnfpython.la
diff --git a/plugins/dexbnf/python/Makefile.am b/plugins/dexbnf/python/Makefile.am
index 135fd5a..50a3575 100644
--- a/plugins/dexbnf/python/Makefile.am
+++ b/plugins/dexbnf/python/Makefile.am
@@ -14,6 +14,6 @@ dev_HEADERS = $(libdexbnfpython_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)