|
300 | 300 | dest='shared_zlib_libpath',
|
301 | 301 | help='a directory to search for the shared zlib DLL')
|
302 | 302 |
|
| 303 | +shared_optgroup.add_option('--shared-brotli', |
| 304 | + action='store_true', |
| 305 | + dest='shared_brotli', |
| 306 | + help='link to a shared brotli DLL instead of static linking') |
| 307 | + |
| 308 | +shared_optgroup.add_option('--shared-brotli-includes', |
| 309 | + action='store', |
| 310 | + dest='shared_brotli_includes', |
| 311 | + help='directory containing brotli header files') |
| 312 | + |
| 313 | +shared_optgroup.add_option('--shared-brotli-libname', |
| 314 | + action='store', |
| 315 | + dest='shared_brotli_libname', |
| 316 | + default='brotlidec,brotlienc', |
| 317 | + help='alternative lib name to link to [default: %default]') |
| 318 | + |
| 319 | +shared_optgroup.add_option('--shared-brotli-libpath', |
| 320 | + action='store', |
| 321 | + dest='shared_brotli_libpath', |
| 322 | + help='a directory to search for the shared brotli DLL') |
| 323 | + |
303 | 324 | shared_optgroup.add_option('--shared-cares',
|
304 | 325 | action='store_true',
|
305 | 326 | dest='shared_cares',
|
@@ -1654,6 +1675,7 @@ def make_bin_override():
|
1654 | 1675 | configure_library('zlib', output)
|
1655 | 1676 | configure_library('http_parser', output)
|
1656 | 1677 | configure_library('libuv', output)
|
| 1678 | +configure_library('brotli', output, pkgname=['libbrotlidec', 'libbrotlienc']) |
1657 | 1679 | configure_library('cares', output, pkgname='libcares')
|
1658 | 1680 | configure_library('nghttp2', output, pkgname='libnghttp2')
|
1659 | 1681 | configure_v8(output)
|
|
0 commit comments