From 635724f6ab08ff07de4c53058ca7716d73c96b8e Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 11 Oct 2011 16:14:08 +0200 Subject: [PATCH] Enable the stroke plugin on Android. --- Android.mk.in | 2 +- src/libcharon/Android.mk | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Android.mk.in b/Android.mk.in index f2b489d01..6207cfb54 100644 --- a/Android.mk.in +++ b/Android.mk.in @@ -5,7 +5,7 @@ include $(CLEAR_VARS) # also these plugins are loaded by default (if not changed in strongswan.conf) strongswan_PLUGINS := openssl fips-prf random pubkey pkcs1 \ pem xcbc hmac kernel-netlink socket-default android \ - eap-identity eap-mschapv2 eap-md5 + stroke eap-identity eap-mschapv2 eap-md5 # helper macros to only add source files for plugins included in the list above # source files are relative to the android.mk that called the macro diff --git a/src/libcharon/Android.mk b/src/libcharon/Android.mk index 4eb43f72b..34c77377c 100644 --- a/src/libcharon/Android.mk +++ b/src/libcharon/Android.mk @@ -147,6 +147,12 @@ LOCAL_SRC_FILES += $(call add_plugin, socket-default) LOCAL_SRC_FILES += $(call add_plugin, socket-dynamic) +LOCAL_SRC_FILES += $(call add_plugin, stroke) +ifneq ($(call plugin_enabled, stroke),) +LOCAL_C_INCLUDES += $(LOCAL_PATH)/../stroke/ +endif + + # build libcharon -------------------------------------------------------------- LOCAL_C_INCLUDES += \