Enabled OpenSSL in libcurl for https:// support

This commit is contained in:
Sergii Pylypenko
2015-06-03 23:13:46 +03:00
parent 09d3558ee4
commit a822abb36c
2 changed files with 5 additions and 3 deletions

View File

@@ -70,13 +70,15 @@ CURL_HEADERS := \
types.h
LOCAL_SRC_FILES := $(addprefix lib/,$(CSOURCES))
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/include/curl $(LOCAL_PATH)/lib
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/include/curl $(LOCAL_PATH)/lib $(LOCAL_PATH)/../openssl/include
LOCAL_CFLAGS += $(common_CFLAGS)
LOCAL_MODULE:= libcurl
LOCAL_SHARED_LIBRARIES :=
LOCAL_STATIC_LIBRARIES := ssl crypto
LOCAL_LDLIBS := -lz
include $(BUILD_SHARED_LIBRARY)

View File

@@ -965,13 +965,13 @@
/* #undef USE_OPENLDAP */
/* if OpenSSL is in use */
/* #undef USE_OPENSSL */
#define USE_OPENSSL 1
/* if PolarSSL is enabled */
/* #undef USE_POLARSSL */
/* if SSL is enabled */
/* #undef USE_SSLEAY */
#define USE_SSLEAY 1
/* if you want POSIX threaded DNS lookup */
/* #undef USE_THREADS_POSIX */