starter: Android.mk updated to use kernel-netlink via libhydra.
authorTobias Brunner <tobias@strongswan.org>
Fri, 21 Oct 2011 12:16:42 +0000 (14:16 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Oct 2011 12:24:34 +0000 (14:24 +0200)
Android.mk.in
src/starter/Android.mk

index 818303b..c4a2595 100644 (file)
@@ -22,9 +22,12 @@ strongswan_PLUTO_PLUGINS := openssl fips-prf random pubkey pkcs1 \
        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
index 3d094b5..48e4b0b 100644 (file)
@@ -21,7 +21,8 @@ LOCAL_C_INCLUDES += \
        $(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
@@ -33,7 +34,7 @@ LOCAL_ARM_MODE := arm
 
 LOCAL_PRELINK_MODULE := false
 
-LOCAL_SHARED_LIBRARIES += libstrongswan libfreeswan
+LOCAL_SHARED_LIBRARIES += libstrongswan libhydra libfreeswan
 
 include $(BUILD_EXECUTABLE)