android: Remove dependency on libvstr
[strongswan.git] / Android.mk
index b17a3f6..6ad220b 100644 (file)
@@ -36,7 +36,6 @@ include $(LOCAL_PATH)/Android.common.mk
 
 # includes
 strongswan_PATH := $(LOCAL_PATH)
-libvstr_PATH := external/strongswan-support/vstr/include
 libcurl_PATH := external/strongswan-support/libcurl/include
 libgmp_PATH := external/strongswan-support/gmp
 openssl_PATH := external/openssl/include
@@ -67,7 +66,6 @@ strongswan_CFLAGS := \
        -DHAVE_STRUCT_SADB_X_POLICY_SADB_X_POLICY_PRIORITY \
        -DHAVE_IPSEC_MODE_BEET \
        -DHAVE_IPSEC_DIR_FWD \
-       -DOPENSSL_NO_CMS \
        -DOPENSSL_NO_EC \
        -DOPENSSL_NO_ECDSA \
        -DOPENSSL_NO_ECDH \
@@ -78,7 +76,7 @@ strongswan_CFLAGS := \
        -DMONOLITHIC \
        -DUSE_IKEV1 \
        -DUSE_IKEV2 \
-       -DUSE_VSTR \
+       -DUSE_BUILTIN_PRINTF \
        -DDEBUG \
        -DROUTING_TABLE=0 \
        -DROUTING_TABLE_PRIO=220 \
@@ -101,7 +99,8 @@ strongswan_BUILD := \
        libhydra \
        libstrongswan \
        libtncif \
-       libtnccs
+       libtnccs \
+       libimcv
 
 ifneq ($(strongswan_BUILD_STARTER),)
 strongswan_BUILD += \