From 0f90affcdfd376f0360317d34b44ce85f28c4294 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Wed, 5 Mar 2025 10:44:09 +0200 Subject: [PATCH] net: http: server: Select POSIX_C_LIB_EXT instead of FNMATCH The CONFIG_POSIX_C_LIB_EXT will get support for fnmatch() function. The old CONFIG_FNMATCH is deprecated. Signed-off-by: Jukka Rissanen --- subsys/net/lib/http/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subsys/net/lib/http/Kconfig b/subsys/net/lib/http/Kconfig index a706f9cbe4c..60263af89df 100644 --- a/subsys/net/lib/http/Kconfig +++ b/subsys/net/lib/http/Kconfig @@ -163,7 +163,8 @@ config HTTP_SERVER_WEBSOCKET config HTTP_SERVER_RESOURCE_WILDCARD bool "Allow wildcard matching of resources" - select FNMATCH + # The POSIX_C_LIB_EXT will get fnmatch() support + select POSIX_C_LIB_EXT help Allow user to specify wildcards when setting up resource strings. This means that instead of specifying multiple resources with exact