[build] SCons brotli needs pkg-config --static
SCons fullstatic build including brotli needs pkg-config --static
@@ -503,7 +503,7 @@ if 1:
)
if env['with_brotli']:
- if not autoconf.CheckParseConfigForLib('LIBBROTLI', 'pkg-config libbrotlienc --cflags --libs'):
+ if not autoconf.CheckParseConfigForLib('LIBBROTLI', 'pkg-config --static --cflags --libs libbrotlienc'):
fail("Couldn't find libbrotlienc")
autoconf.env.Append(
CPPFLAGS = [ '-DHAVE_BROTLI_ENCODE_H', '-DHAVE_BROTLI' ],
