summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfalkTX <falktx@falktx.com>2019-10-28 11:19:44 +0100
committerfalkTX <falktx@falktx.com>2019-10-28 11:19:44 +0100
commit0fefdf8b6c0b5d7d4a61c045143081ff34df1021 (patch)
treefdd4a8b587a2d070711c38f3b0d551814a70fa9e
parentf19176657cd8bf3d672554c97872b1f1bc0b7054 (diff)
downloadjack2-0fefdf8b6c0b5d7d4a61c045143081ff34df1021.tar.gz
Fix build under mixed mode
Closes #508
-rw-r--r--wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/wscript b/wscript
index 55508fee..49e6d79b 100644
--- a/wscript
+++ b/wscript
@@ -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()