Skip to content

Commit fc6f994

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 4e01f83 commit fc6f994

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
@@ -163,7 +163,8 @@ config HTTP_SERVER_WEBSOCKET
163163

164164
config HTTP_SERVER_RESOURCE_WILDCARD
165165
bool "Allow wildcard matching of resources"
166-
select FNMATCH
166+
# The POSIX_C_LIB_EXT will get fnmatch() support
167+
select POSIX_C_LIB_EXT
167168
help
168169
Allow user to specify wildcards when setting up resource strings.
169170
This means that instead of specifying multiple resources with exact

0 commit comments

Comments
 (0)