mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
Node: remove --with-shared-libs
There's no guarantee that the version of V8 packaged by Homebrew is compatible with what the current version of Node expects. Closes #19686.
This commit is contained in:
1 parent
a5f62d8df4
commit
eed6c5c2ed
1 file changed
-8
@@ -53,11 +53,9 @@ class Node < Formula
|
||||
|
||||
option 'enable-debug', 'Build with debugger hooks'
|
||||
option 'without-npm', 'npm will not be installed'
|
||||
option 'with-shared-libs', 'Use Homebrew V8 and system OpenSSL, zlib'
|
||||
|
||||
depends_on NpmNotInstalled unless build.without? 'npm'
|
||||
depends_on PythonVersion
|
||||
depends_on 'v8' if build.with? 'shared-libs'
|
||||
|
||||
fails_with :llvm do
|
||||
build 2326
|
||||
@@ -69,12 +67,6 @@ class Node < Formula
|
||||
def install
|
||||
args = %W{--prefix=#{prefix}}
|
||||
|
||||
if build.with? 'shared-libs'
|
||||
args << '--shared-openssl' unless MacOS.version == :leopard
|
||||
args << '--shared-v8'
|
||||
args << '--shared-zlib'
|
||||
end
|
||||
|
||||
args << "--debug" if build.include? 'enable-debug'
|
||||
args << "--without-npm" if build.include? 'without-npm'
|
||||
|
||||
|
||||
Reference in new issue
Block a user