From 262e9ac11fade8de23d290d45794cff10cb4e5e0 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 23 Oct 2026 11:28:33 +0200 Subject: [PATCH] build: warn on incompatible dtls configure flags Signed-off-by: Antoine du Hamel PR-URL: https://github.com/nodejs/node/pull/66892 Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau --- configure.py | 3 +++ 1 file changed, 3 insertions(+) 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)