Browse Source

[build] SCons build with brotli needs -lm on *BSD

master
Glenn Strauss 11 months ago
parent
commit
17b378c00e
  1. 5
      SConstruct

5
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'):

Loading…
Cancel
Save