diff options
author | Edward Hervey <bilboed@bilboed.com> | 2014-05-16 14:26:18 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-05-16 14:26:18 +0200 |
commit | 0f816a975d49a6b2e1802f206e0aac87d709db5c (patch) | |
tree | a22073a0f96d2d8eba73f1b75deb93b2ca958970 | |
parent | 2df20d64ba9665ceff00b10c67ca396279df6e33 (diff) |
darwin: Tell python to use 32bit version when targetting 32bit
Amongst other things fixes importing i386 .so from python (needed
for gobject-introspection)
-rw-r--r-- | config/darwin.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/darwin.config b/config/darwin.config index ea18f169..c695c35c 100644 --- a/config/darwin.config +++ b/config/darwin.config @@ -53,6 +53,7 @@ if target_arch == Architecture.X86_64: elif target_arch == Architecture.X86: arch_cflags += ' -arch i386 -m32' arch_ldflags += ' -arch i386 -m32 -Wl,-arch,i386' + os.environ['VERSIONER_PYTHON_PREFER_32_BIT'] = 'yes' elif target_arch == Architecture.PPC: arch_cflags += ' -arch ppc' arch_ldflags += ' -arch ppc -Wl,-arch,ppc' |