Skip to content

Commit 6b3587c

Browse files
jukkargithub-actions[bot]
authored andcommitted
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]> (cherry picked from commit 0f90aff)
1 parent 5dbfe8f commit 6b3587c

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)