Make path to Android OpenSSL headers configurable.

This commit is contained in:
Tobias Brunner 2012-02-10 14:51:18 +01:00
parent 4528e74a5c
commit 73940eb712
2 changed files with 2 additions and 1 deletions

View File

@ -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@"

View File

@ -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