From 3703a4723899d7563937b4b99f5bbe4dd8d3dfed Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 26 Sep 2016 11:35:40 +0200 Subject: python: Include 'config.h'. * lang/python/Makefile.am: Pass 'top_builddir' to 'setup.py'. * lang/python/gpgme.i: Include 'config.h'. * lang/python/helpers.c: Likewise. * lang/python/helpers.h: Likewise. * lang/python/setup.py.in: Make sure that 'config.h' can be found. -- Fixes build on 32 bit platforms with large file support. Signed-off-by: Justus Winter --- lang/python/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/python/Makefile.am') diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am index 2271ce0b..1d7aee8b 100644 --- a/lang/python/Makefile.am +++ b/lang/python/Makefile.am @@ -56,6 +56,7 @@ copystamp: $(COPY_FILES) $(COPY_FILES_PYME) all-local: copystamp for PYTHON in $(PYTHONS); do \ CFLAGS="$(CFLAGS) -I$(top_srcdir)" \ + top_builddir="$(top_builddir)" \ $$PYTHON setup.py build --verbose ; \ done -- cgit v1.2.3