Commit 262e9ac11fa for nodejs
commit 262e9ac11fade8de23d290d45794cff10cb4e5e0
Author: Antoine du Hamel <duhamelantoine1995@gmail.com>
Date: Fri Oct 23 11:28:33 2026 +0200
build: warn on incompatible dtls configure flags
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66892
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
diff --git a/configure.py b/configure.py
index 15c917dfcc2..be61c6d95f6 100755
--- a/configure.py
+++ b/configure.py
@@ -2451,6 +2451,9 @@ def configure_quic(o):
configure_library('ngtcp2', output, pkgname='libngtcp2')
def configure_dtls(o):
+ if options.experimental_dtls and options.without_ssl:
+ warn('--experimental-dtls is incompatible with --without-ssl')
+
o['variables']['node_use_dtls'] = b(options.experimental_dtls and
not options.without_ssl)