From cea7e92157ddf337aff608b0a4a764f05212e25b Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Sun, 2 Aug 2020 12:53:28 -0400 Subject: [PATCH] [build] SCons brotli needs pkg-config --static SCons fullstatic build including brotli needs pkg-config --static --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 7ea178fd..079f28fe 100644 --- a/SConstruct +++ b/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' ],