node: use openssl default ca if compiled with shared openssl

Closes #31062.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Tristan Hill 2018-08-13 11:50:47 +01:00 committed by Dominyk Tiller
parent af2aa17152
commit ab74685289

View file

@ -46,7 +46,7 @@ class Node < Formula
args = %W[--prefix=#{prefix} --without-npm]
args << "--debug" if build.with? "debug"
args << "--with-intl=system-icu" if build.with? "icu4c"
args << "--shared-openssl" if build.with? "openssl@1.1"
args << "--shared-openssl" << "--openssl-use-def-ca-store" if build.with? "openssl@1.1"
args << "--tag=head" if build.head?
system "./configure", *args