pem xcbc hmac kernel-netlink xauth
endif
+strongswan_STARTER_PLUGINS := kernel-netlink
+
# list of all plugins - used to enable them with the function below
strongswan_PLUGINS := $(sort $(strongswan_CHARON_PLUGINS) \
- $(strongswan_PLUTO_PLUGINS))
+ $(strongswan_PLUTO_PLUGINS) \
+ $(strongswan_STARTER_PLUGINS))
# 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
$(strongswan_PATH)/src/whack \
$(strongswan_PATH)/src/stroke
-LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON
+LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON \
+ -DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
ifneq ($(strongswan_BUILD_PLUTO),)
LOCAL_CFLAGS += -DSTART_PLUTO
LOCAL_PRELINK_MODULE := false
-LOCAL_SHARED_LIBRARIES += libstrongswan libfreeswan
+LOCAL_SHARED_LIBRARIES += libstrongswan libhydra libfreeswan
include $(BUILD_EXECUTABLE)