Skip to content

Commit eb862b9

Browse files
committed
build: error on incompatible dtls configure flags
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 262e9ac commit eb862b9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎configure.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2452,10 +2452,9 @@ def configure_quic(o):
24522452

24532453
def configure_dtls(o):
24542454
if options.experimental_dtls and options.without_ssl:
2455-
warn('--experimental-dtls is incompatible with --without-ssl')
2455+
error('--experimental-dtls is incompatible with --without-ssl')
24562456

2457-
o['variables']['node_use_dtls'] = b(options.experimental_dtls and
2458-
not options.without_ssl)
2457+
o['variables']['node_use_dtls'] = b(options.experimental_dtls)
24592458

24602459
def configure_static(o):
24612460
if options.fully_static or options.partly_static:

0 commit comments

Comments
 (0)