starter: Only try to start pluto on Android if it is actually enabled.
This commit is contained in:
1 parent
e45fb76b60
commit
1c10577648
1 file changed
+5
-1
@@ -21,7 +21,11 @@ LOCAL_C_INCLUDES += \
|
|||||||
$(strongswan_PATH)/src/whack \
|
$(strongswan_PATH)/src/whack \
|
||||||
$(strongswan_PATH)/src/stroke
|
$(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
|
LOCAL_MODULE := starter
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user