Force fix for libdb mixed mode build
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
1b10d4c888
commit
a39d2df15e
|
@ -24,6 +24,12 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
// libdb does not work in 32bit mixed mode
|
||||
#ifdef BUILD_WITH_32_64
|
||||
#undef HAVE_DB
|
||||
#define HAVE_DB 0
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if HAVE_DB
|
||||
|
|
3
wscript
3
wscript
|
@ -392,8 +392,9 @@ def configure(conf):
|
|||
|
||||
if Options.options.mixed:
|
||||
conf.setenv(lib32, env=conf.env.derive())
|
||||
conf.env.append_unique('CXXFLAGS', '-m32')
|
||||
conf.env.append_unique('CFLAGS', '-m32')
|
||||
conf.env.append_unique('CXXFLAGS', '-m32')
|
||||
conf.env.append_unique('CXXFLAGS', '-DBUILD_WITH_32_64')
|
||||
conf.env.append_unique('LINKFLAGS', '-m32')
|
||||
if Options.options.libdir32:
|
||||
conf.env['LIBDIR'] = Options.options.libdir32
|
||||
|
|
Loading…
Reference in New Issue