If we're cross compiling for some other target, we don't particularly care whether the build host has a valid vpnc-script installed locally. Signed-off-by: Kevin Cernekee <cernekee at gmail.com> --- android/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/Makefile b/android/Makefile index 0ef95cd..93f8290 100644 --- a/android/Makefile +++ b/android/Makefile @@ -249,7 +249,8 @@ $(OPENCONNECT_BUILD)/Makefile: $(GNUTLS_DEPS) $(LIBXML_DEPS) ../configure mkdir -p $(OPENCONNECT_BUILD) cd $(OPENCONNECT_BUILD) && ../../../configure $(CONFIGURE_ARGS) \ CFLAGS="--sysroot=$(NDK_SYSROOT) -DNO_BROKEN_DTLS_CHECK" \ - GNUTLS_LIBS="$(shell PKG_CONFIG_LIBDIR=$(OC_SYSROOT)/lib/pkgconfig pkg-config --static --libs gnutls)" --enable-shared + GNUTLS_LIBS="$(shell PKG_CONFIG_LIBDIR=$(OC_SYSROOT)/lib/pkgconfig pkg-config --static --libs gnutls)" \ + --enable-shared --with-vpnc-script=/etc/vpnc/vpnc-script openconnect: $(OPENCONNECT_BUILD)/Makefile make -C $(OPENCONNECT_BUILD) -- 1.7.10.4