starter: Android.mk updated to use kernel-netlink via libhydra.
This commit is contained in:
parent
adab84533e
commit
bb3357e886
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue