starter: Fix build on Android
authorTobias Brunner <tobias@strongswan.org>
Wed, 28 May 2014 16:20:42 +0000 (18:20 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 28 May 2014 16:20:42 +0000 (18:20 +0200)
While the (default) ipsec script does not work on Android starter still
passes the script's name to charon if leftfirewall is configured.

src/starter/Android.mk

index c2260be..2d2ad25 100644 (file)
@@ -19,6 +19,7 @@ LOCAL_C_INCLUDES += \
        $(strongswan_PATH)/src/stroke
 
 LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON \
+       -DIPSEC_SCRIPT='"ipsec"' \
        -DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
 
 LOCAL_MODULE := starter