Bug 1252 - OSX --enable-static unimplemented: code model large not supported in PIC mode
--- a/src/wscript Fri Aug 26 10:01:33 2011 -0700
+++ b/src/wscript Fri Aug 26 17:06:35 2011 -0400
@@ -200,6 +200,7 @@
linkflags = '-Wl,--soname=%s' % module_library_name
elif module.env['CXX_NAME'] in ['gcc', 'icc'] and \
os.uname()[4] == 'x86_64' and \
+ sys.platform != 'darwin' and \
module.env['ENABLE_PYTHON_BINDINGS']:
# enable that flag for static builds only on x86-64 platforms
# when gcc is present and only when we want python bindings