Commit 3a36770be77 for nodejs
commit 3a36770be772add84f7c8819a738e8740ac40577
Author: Antoine du Hamel <duhamelantoine1995@gmail.com>
Date: Fri Oct 30 10:49:58 2026 +0100
build: error on incompatible dtls configure flags
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66947
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
diff --git a/configure.py b/configure.py
index 298c7eb1cb1..d00bf6cf60a 100755
--- a/configure.py
+++ b/configure.py
@@ -2460,10 +2460,9 @@ def configure_quic(o):
def configure_dtls(o):
if options.experimental_dtls and options.without_ssl:
- warn('--experimental-dtls is incompatible with --without-ssl')
+ error('--experimental-dtls is incompatible with --without-ssl')
- o['variables']['node_use_dtls'] = b(options.experimental_dtls and
- not options.without_ssl)
+ o['variables']['node_use_dtls'] = b(options.experimental_dtls)
def configure_static(o):
if options.fully_static or options.partly_static: