mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 parent
952dcb2dc2
commit
262e9ac11f
1 file changed
+3
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user