. "$GRIMOIRE"/VDEPENDS &&
optional_depends -sub CLANG llvm \
		 "" "" \
		 "to build NodeJS with clang rather than gcc" &&

if ! is_depends_enabled ${SPELL} llvm; then
  depends -sub CXX gcc
fi &&

depends python3 &&
depends brotli  '--shared-brotli'  &&
depends c-ares  '--shared-cares'   &&
depends nghttp2 '--shared-nghttp2' &&
vdepends <<-! &&
	libuv >= 1.51.0	flags: --shared-libuv
!
depends zlib '--shared-zlib' &&
depends icu '--with-intl=system-icu' &&
depends simdjson '--shared-simdjson' &&
depends simdutf  '--shared-simdutf'  &&

optional_depends SSL '--shared-openssl' '--without-ssl' 'use SSL'
