diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-08-02 10:15:38 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-08-02 10:16:55 -0400 |
commit | 17b378c00e46a4168ed8c5b4978e74c0fe831253 (patch) | |
tree | ccad7fab8233e1ad2024d167f9edb542e6b68f2d /SConstruct | |
parent | abfa915d978ed980be52ee291ce9784e22dbd1ab (diff) | |
download | lighttpd-git-17b378c00e46a4168ed8c5b4978e74c0fe831253.tar.gz |
[build] SCons build with brotli needs -lm on *BSD
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -505,7 +505,10 @@ if 1: if env['with_brotli']: if not autoconf.CheckParseConfigForLib('LIBBROTLI', 'pkg-config libbrotlienc --cflags --libs'): fail("Couldn't find libbrotlienc") - autoconf.env.Append(CPPFLAGS = [ '-DHAVE_BROTLI_ENCODE_H', '-DHAVE_BROTLI' ]) + autoconf.env.Append( + CPPFLAGS = [ '-DHAVE_BROTLI_ENCODE_H', '-DHAVE_BROTLI' ], + LIBS = [ 'm' ], + ) if env['with_dbi']: if not autoconf.CheckLibWithHeader('dbi', 'dbi/dbi.h', 'C'): |