starter: Only try to start pluto on Android if it is actually enabled.
This commit is contained in:
parent
e45fb76b60
commit
1c10577648
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue