mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 23:47:42 +00:00
openvpn: Add explicit support for external lz4
2.4.0 added lz4 support. Make that choice explicit or the bundled compat-lz4 "stub" will be used. Signed-off-by: Jeroen Roovers <jer@airfi.aero> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
9ecbe727aa
commit
65e6f6ff2a
@ -14,6 +14,13 @@ config BR2_PACKAGE_OPENVPN
|
|||||||
|
|
||||||
if BR2_PACKAGE_OPENVPN
|
if BR2_PACKAGE_OPENVPN
|
||||||
|
|
||||||
|
config BR2_PACKAGE_OPENVPN_LZ4
|
||||||
|
bool "LZ4 compression"
|
||||||
|
default y
|
||||||
|
select BR2_PACKAGE_LZ4
|
||||||
|
help
|
||||||
|
Enable LZ4 compression.
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENVPN_LZO
|
config BR2_PACKAGE_OPENVPN_LZO
|
||||||
bool "LZO compression"
|
bool "LZO compression"
|
||||||
default y
|
default y
|
||||||
|
@ -35,6 +35,12 @@ else
|
|||||||
OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
|
OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENVPN_LZ4),y)
|
||||||
|
OPENVPN_DEPENDENCIES += lz4
|
||||||
|
else
|
||||||
|
OPENVPN_CONF_OPTS += --disable-lz4
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
|
ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
|
||||||
OPENVPN_DEPENDENCIES += lzo
|
OPENVPN_DEPENDENCIES += lzo
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user