lbry-fdroid/p4a/pythonforandroid/recipes/evdev/include-dir.patch
Akinwale Ariwodola 744cfaebc2 Initial commit
2017-08-13 02:24:00 +01:00

12 lines
445 B
Diff

diff -Naur orig/setup.py v0.4.7/setup.py
--- orig/setup.py 2015-06-11 14:16:31.315765908 -0500
+++ v0.4.7/setup.py 2015-06-11 14:17:05.800263536 -0500
@@ -64,7 +64,7 @@
#-----------------------------------------------------------------------------
def create_ecodes():
- header = '/usr/include/linux/input.h'
+ header = os.environ['NDKPLATFORM'] + '/usr/include/linux/input.h'
if not os.path.isfile(header):
msg = '''\