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 <jukka.rissanen@nordicsemi.no>
This commit is contained in:
Jukka Rissanen 2025-03-05 10:44:09 +02:00 committed by Carles Cufí
parent 33cf7dc78a
commit 0f90affcdf

View File

@ -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