summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 700123c3..2184fc9f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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'):