mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
Added support for the curl plugin on Android
This commit is contained in:
parent
63afd833b9
commit
197dbf5f72
@ -39,6 +39,7 @@ add_plugin = $(if $(call plugin_enabled,$(1)), \
|
|||||||
# includes
|
# includes
|
||||||
strongswan_PATH := $(LOCAL_PATH)
|
strongswan_PATH := $(LOCAL_PATH)
|
||||||
libvstr_PATH := external/strongswan-support/vstr/include
|
libvstr_PATH := external/strongswan-support/vstr/include
|
||||||
|
libcurl_PATH := external/strongswan-support/libcurl/include
|
||||||
libgmp_PATH := external/strongswan-support/gmp
|
libgmp_PATH := external/strongswan-support/gmp
|
||||||
|
|
||||||
# some definitions
|
# some definitions
|
||||||
|
@ -80,6 +80,12 @@ utils/backtrace.c utils/backtrace.h
|
|||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, aes)
|
LOCAL_SRC_FILES += $(call add_plugin, aes)
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES += $(call add_plugin, curl)
|
||||||
|
ifneq ($(call plugin_enabled, curl),)
|
||||||
|
LOCAL_C_INCLUDES += $(libcurl_PATH)
|
||||||
|
LOCAL_SHARED_LIBRARIES += libcurl
|
||||||
|
endif
|
||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, des)
|
LOCAL_SRC_FILES += $(call add_plugin, des)
|
||||||
|
|
||||||
LOCAL_SRC_FILES += $(call add_plugin, fips-prf)
|
LOCAL_SRC_FILES += $(call add_plugin, fips-prf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user