starter: Only try to start pluto on Android if it is actually enabled.

This commit is contained in:
Tobias Brunner 2011-10-14 15:18:33 +02:00
parent e45fb76b60
commit 1c10577648
1 changed files with 5 additions and 1 deletions

View File

@ -21,7 +21,11 @@ LOCAL_C_INCLUDES += \
$(strongswan_PATH)/src/whack \
$(strongswan_PATH)/src/stroke
LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON -DSTART_PLUTO
LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON
ifneq ($(strongswan_BUILD_PLUTO),)
LOCAL_CFLAGS += -DSTART_PLUTO
endif
LOCAL_MODULE := starter