mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
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
|
OPENVPN_CONF_OPTS += --disable-lzo
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||||
OPENVPN_DEPENDENCIES += systemd
|
OPENVPN_DEPENDENCIES += systemd
|
||||||
OPENVPN_CONF_OPTS += --enable-systemd
|
OPENVPN_CONF_OPTS += --enable-systemd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user