Browse Source

[build] SCons brotli needs pkg-config --static

SCons fullstatic build including brotli needs pkg-config --static
master
Glenn Strauss 11 months ago
parent
commit
cea7e92157
  1. 2
      SConstruct

2
SConstruct

@ -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' ],

Loading…
Cancel
Save