]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
android: Override vpnc-script check in "configure"
authorKevin Cernekee <cernekee@gmail.com>
Mon, 25 Mar 2013 01:14:04 +0000 (18:14 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 25 Mar 2013 15:30:26 +0000 (15:30 +0000)
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@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
android/Makefile

index 0ef95cd17b7ab399155c6d743c115cdacdb29373..93f82901f2d27e6890fea6a7561a72946d3b201f 100644 (file)
@@ -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)