lbry-android/p4a/pythonforandroid/recipes/python3/patches-termux/_cursesmodule.c.patch
Akinwale Ariwodola 744cfaebc2 Initial commit
2017-08-13 02:24:00 +01:00

15 lines
522 B
Diff

We use libandroid-support when building Python, but Python does not
use LDFLAGS when building modules (and not much point in this case).
diff -u -r ../Python-3.4.1/Modules/_cursesmodule.c ./Modules/_cursesmodule.c
--- ../Python-3.4.1/Modules/_cursesmodule.c 2014-05-19 07:19:39.000000000 +0200
+++ ./Modules/_cursesmodule.c 2014-06-04 08:56:50.441097925 +0200
@@ -121,7 +121,7 @@
#include <term.h>
#endif
-#ifdef HAVE_LANGINFO_H
+#if defined(HAVE_LANGINFO_H) && !defined(__ANDROID__)
#include <langinfo.h>
#endif