mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
libradcli: fix build options
The provided Config.in was never sourced from the Makefile, making it impossible to toggle TLS support. This commit adds the necessary Makefile glue to fix this. Also default to TLS disabled, as was the de-facto case since Config.in was never sourced (and thus the default 'y' never enabled). Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
This commit is contained in:
committed by
Tianling Shen
parent
4e62e45aba
commit
5ffca82f54
@@ -5,6 +5,5 @@ menu "Configuration"
|
||||
|
||||
config RADCLI_TLS
|
||||
bool "enable TLS support"
|
||||
default y
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -19,6 +19,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/radcli-$(PKG_VERSION)
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
PKG_CONFIG_DEPENDS := CONFIG_RADCLI_TLS
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libradcli
|
||||
@@ -37,6 +39,10 @@ define Package/libradcli/decription
|
||||
compatible with it.
|
||||
endef
|
||||
|
||||
define Package/libradcli/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--enable-legacy-compat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user