Skip to content

Commit 51beb28

Browse files
jukkarnashif
authored andcommitted
modules: civetweb: Add proper dependency to Kconfig
Make sure that CONFIG_NET_TCP_ISN_RFC6528 is not set when compiling Civetweb. There are compile issues in Civetweb if both mbedtls and POSIX API option are set, and this happens if the TCP ISN option is enabled. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent dacd176 commit 51beb28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/Kconfig.civetweb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,11 @@
33

44
config CIVETWEB
55
bool "Civetweb Support"
6+
# The CONFIG_NET_TCP_ISN_RFC6528 option would pull in mbedtls,
7+
# and there are include file issues if CONFIG_POSIX_API is set.
8+
# Because Civetweb sets the POSIX API option in the samples,
9+
# make sure that we do not try to use Civetweb if the TCP ISN
10+
# option is set.
11+
depends on !NET_TCP_ISN_RFC6528
612
help
713
This option enables the civetweb HTTP API.

0 commit comments

Comments
 (0)