From: Tobias Brunner Date: Fri, 14 Oct 2011 13:18:33 +0000 (+0200) Subject: starter: Only try to start pluto on Android if it is actually enabled. X-Git-Tag: 4.6.0~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c105776485988324a2080b2928b11e26dcfe7ae;p=thirdparty%2Fstrongswan.git starter: Only try to start pluto on Android if it is actually enabled. --- diff --git a/src/starter/Android.mk b/src/starter/Android.mk index 2c5c65a576..3d094b5783 100644 --- a/src/starter/Android.mk +++ b/src/starter/Android.mk @@ -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