summaryrefslogtreecommitdiff
path: root/plugins/dexbnf
diff options
context:
space:
mode:
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)