summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-08-02 12:53:28 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-08-02 12:55:18 -0400
commitcea7e92157ddf337aff608b0a4a764f05212e25b (patch)
treef3795ef0968d968b5f6eccf6318c6748714335f1 /SConstruct
parentf358f04bdcde67e3e0077ba4d6dc7d8d469aea1d (diff)
downloadlighttpd-git-cea7e92157ddf337aff608b0a4a764f05212e25b.tar.gz
[build] SCons brotli needs pkg-config --static
SCons fullstatic build including brotli needs pkg-config --static
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
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' ],