lbry-android-sdk/p4a/pythonforandroid/recipes/evdev/include-dir.patch

13 lines
445 B
Diff
Raw Permalink Normal View History

2017-08-13 03:24:00 +02:00
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 = '''\