Commit df89abb23ef27c1e10eb5311a47bf81a640139bb

Sam Lantinga 2018-10-28T14:17:21

Fixed bug 4335 - Android NDK build error dmuratshin LOCAL_SRC_FILES shouldn't use $(LOCAL_PATH)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Android.mk b/Android.mk
index 3e480fe..9ce879a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -102,7 +102,7 @@ include $(CLEAR_VARS)
 
 LOCAL_CPPFLAGS += -std=c++11
 
-LOCAL_SRC_FILES := $(LOCAL_PATH)/src/hidapi/android/hid.cpp
+LOCAL_SRC_FILES := src/hidapi/android/hid.cpp
 
 LOCAL_MODULE := libhidapi
 LOCAL_LDLIBS := -llog