From: Thibaut VARÈNE Date: Fri, 13 Jun 2025 12:44:46 +0000 (+0200) Subject: libradcli: fix build options X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5ffca82f54e7bb611c04ddcc60ee3f81f36cf77e;p=openwrt-packages.git 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 --- diff --git a/libs/libradcli/Config.in b/libs/libradcli/Config.in index 35c3a223b..b43ff20e6 100644 --- a/libs/libradcli/Config.in +++ b/libs/libradcli/Config.in @@ -5,6 +5,5 @@ menu "Configuration" config RADCLI_TLS bool "enable TLS support" - default y endmenu diff --git a/libs/libradcli/Makefile b/libs/libradcli/Makefile index f3a7dc0e9..6a6b30345 100644 --- a/libs/libradcli/Makefile +++ b/libs/libradcli/Makefile @@ -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