Enabled OpenSSL in libcurl for https:// support
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user