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>
This commit is contained in:
Antoine du Hamel authored and GitHub committed 2026-10-23 09:28:33 +00:00
1 parent 952dcb2dc2
commit 262e9ac11f
1 file changed
+3
+3
View File
@@ -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)