Fix build under mixed mode

Closes #508
This commit is contained in:
falkTX 2019-10-28 11:19:44 +01:00
parent f19176657c
commit 0fefdf8b6c
1 changed files with 7 additions and 0 deletions

View File

@ -397,6 +397,13 @@ def configure(conf):
conf.env['LIBDIR'] = Options.options.libdir32
else:
conf.env['LIBDIR'] = conf.env['PREFIX'] + '/lib32'
# libdb does not work in mixed mode
conf.env['HAVE_DB'] = 0
conf.env['HAVE_DB_H'] = 0
conf.env['LIB_DB'] = []
# no need for opus in 32bit mixed mode clients
conf.env['LIB_OPUS'] = []
# someone tell me where this file gets written please..
conf.write_config_header('config.h')
print()