Make path to Android OpenSSL headers configurable.
authorTobias Brunner <tobias@strongswan.org>
Fri, 10 Feb 2012 13:51:18 +0000 (14:51 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 Aug 2012 13:07:43 +0000 (15:07 +0200)
Android.mk.in
src/libstrongswan/Android.mk

index a73981d..a1ce1c5 100644 (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@"
index ae5a773..8cba588 100644 (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