Skip to content

Commit 5cf5286

Browse files
committed
build: warn on incompatible dtls configure flags
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent ce9d650 commit 5cf5286

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎configure.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,6 +2473,9 @@ def configure_quic(o):
24732473
configure_library('ngtcp2', output, pkgname='libngtcp2')
24742474

24752475
def configure_dtls(o):
2476+
if options.experimental_dtls and options.without_ssl:
2477+
warn('--experimental-dtls is incompatible with --without-ssl')
2478+
24762479
o['variables']['node_use_dtls'] = b(options.experimental_dtls and
24772480
not options.without_ssl)
24782481

0 commit comments

Comments
 (0)