X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/82daa5e9c007b2a16aa9e8c5526fd8d034ee4541..a2759fb484cd09119c6b3914a11b25e3c4571c3e:/package/openvpn/Makefile diff --git a/package/openvpn/Makefile b/package/openvpn/Makefile index a34bf4436..e5e127584 100644 --- a/package/openvpn/Makefile +++ b/package/openvpn/Makefile @@ -18,7 +18,14 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,OPENVPN,openvpn,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -PKG_DEPEND:="libopenssl, kmod-tun" +PKG_DEPEND:="kmod-tun" + +ifneq ($(BR2_COMPILE_OPENVPN_WITH_OPENSSL),y) +DISABLE_OPENSSL:=--disable-ssl --disable-crypto +else +PKG_DEPEND+=", libopenssl" +endif + ifneq ($(BR2_COMPILE_OPENVPN_WITH_LZO),y) DISABLE_LZO:=--disable-lzo else @@ -66,6 +73,7 @@ $(PKG_BUILD_DIR)/.configured: --disable-management \ --disable-socks \ $(DISABLE_LZO) \ + $(DISABLE_OPENSSL) \ $(DISABLE_SERVER) \ $(DISABLE_HTTP) \ );