Skip to content

Commit 30bcd93

Browse files
committed
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 <[email protected]>
1 parent b8c244b commit 30bcd93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

subsys/net/lib/http/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ config HTTP_SERVER_WEBSOCKET
117117

118118
config HTTP_SERVER_RESOURCE_WILDCARD
119119
bool "Allow wildcard matching of resources"
120-
select FNMATCH
120+
# The POSIX_C_LIB_EXT will get fnmatch() support
121+
select POSIX_C_LIB_EXT
121122
help
122123
Allow user to specify wildcards when setting up resource strings.
123124
This means that instead of specifying multiple resources with exact

0 commit comments

Comments
 (0)