Use a NDK-compatible libjpeg
Change-Id: I5c6e3efca5574a97ff130e43609f860137c67572
diff --git a/jni_jpegstream/Android.mk b/jni_jpegstream/Android.mk
index 8355a8e..2f3e5a1 100644
--- a/jni_jpegstream/Android.mk
+++ b/jni_jpegstream/Android.mk
@@ -9,16 +9,14 @@
LOCAL_NDK_STL_VARIANT := c++_static
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
- $(LOCAL_PATH)/src \
- external/jpeg
+ $(LOCAL_PATH)/src
-LOCAL_SHARED_LIBRARIES := libjpeg
+LOCAL_STATIC_LIBRARIES := libjpeg_static_ndk
LOCAL_SDK_VERSION := 9
LOCAL_ARM_MODE := arm
LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops
-LOCAL_CPPFLAGS += $(JNI_CFLAGS)
LOCAL_LDLIBS := -llog
LOCAL_CPP_EXTENSION := .cpp