package/openvpn: add libselinux support
If the libselinux package is selected, add the package to the dependency list and explicitly set --enable-selinux. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
62264233b2
commit
e87cb52b55
|
@ -38,6 +38,13 @@ else
|
|||
OPENVPN_CONF_OPTS += --disable-lzo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||
OPENVPN_DEPENDENCIES += libselinux
|
||||
OPENVPN_CONF_OPTS += --enable-selinux
|
||||
else
|
||||
OPENVPN_CONF_OPTS += --disable-selinux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
OPENVPN_DEPENDENCIES += systemd
|
||||
OPENVPN_CONF_OPTS += --enable-systemd
|
||||
|
|
Loading…
Reference in a new issue