[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>
Mon, 20 Apr 2020 07:44:09 +0000 (08:44 +0100)
commitc7edaf9b7e0c66c30e262b6b236fbd9eb285967a
tree565d7caecd60e7a82e98ec9903b71802e355bda9
parentd6a20bc53cbe7756b2cde34def822249ad6d8da5
[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