From: Tobias Brunner Date: Tue, 11 Oct 2011 14:14:08 +0000 (+0200) Subject: Enable the stroke plugin on Android. X-Git-Tag: 4.6.0~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=635724f6ab08ff07de4c53058ca7716d73c96b8e;p=thirdparty%2Fstrongswan.git Enable the stroke plugin on Android. --- diff --git a/Android.mk.in b/Android.mk.in index f2b489d017..6207cfb54c 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 4eb43f72bc..34c77377c8 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 += \