[PATCH] build: allow use of system-installed brotli
authorAndré Draszik <git@andred.net>
Mon, 2 Mar 2020 12:17:35 +0000 (12:17 +0000)
committerJérémy Lal <kapouer@melix.org>
Thu, 4 Jun 2020 00:35:16 +0000 (01:35 +0100)
commit26408b3490f893bc4618c3c58d21683c7ac58c9b
tree21b5f550b1edf17c378171f63173c1a9e40df775
parent2e89b34f799a6c7b26e0bd56aa292c2c9be4a8ef
[PATCH] build: allow use of system-installed brotli

brotli is available as a shared library since 2016, so it makes sense
to allow its use as a system-installed version.

Some of the infrastructure was in place already (node.gyp and
node.gypi), but some bits in the configure script here were missing.

Add them, keeping the default as before, to use the bundled version.

Refs: https://github.com/google/brotli/pull/421
Signed-off-by: André Draszik <git@andred.net>
PR-URL: https://github.com/nodejs/node/pull/32046
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Gbp-Pq: Name system-brotli.patch
configure.py