Browse Source

Update Android.mk

NX 7 years ago
parent
commit
2e58f89024
1 changed files with 5 additions and 2 deletions
  1. 5 2
      Source/Native/jni/Android.mk

+ 5 - 2
Source/Native/jni/Android.mk

@@ -9,5 +9,8 @@ ifdef ENET_LZ4
 	LOCAL_SRC_FILES += ..\lz4\lz4.c
 endif
 
-#include $(BUILD_STATIC_LIBRARY)
-include $(BUILD_SHARED_LIBRARY)
+ifdef ENET_STATIC
+	include $(BUILD_STATIC_LIBRARY)
+else
+	include $(BUILD_SHARED_LIBRARY)
+endif