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