Make path to Android OpenSSL headers configurable.
This commit is contained in:
parent
4528e74a5c
commit
73940eb712
|
@ -50,6 +50,7 @@ strongswan_PATH := $(LOCAL_PATH)
|
|||
libvstr_PATH := external/strongswan-support/vstr/include
|
||||
libcurl_PATH := external/strongswan-support/libcurl/include
|
||||
libgmp_PATH := external/strongswan-support/gmp
|
||||
openssl_PATH := external/openssl/include
|
||||
|
||||
# some definitions
|
||||
strongswan_VERSION := "@PACKAGE_VERSION@"
|
||||
|
|
|
@ -58,7 +58,7 @@ LOCAL_SRC_FILES += $(call add_plugin, nonce)
|
|||
|
||||
LOCAL_SRC_FILES += $(call add_plugin, openssl)
|
||||
ifneq ($(call plugin_enabled, openssl),)
|
||||
LOCAL_C_INCLUDES += external/openssl/include
|
||||
LOCAL_C_INCLUDES += $(openssl_PATH)
|
||||
LOCAL_SHARED_LIBRARIES += libcrypto
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue