From 79a0165260bcc73d5033a2583b6dec2efdac1d2e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 7 May 2012 18:20:05 +0000 Subject: [PATCH] Removed unnecessary linker flags when building the Python extension This resolves errors when compiling on OS X when the full set of cross-compilers (e.g. for ppc) are not present, as well as several warnings even when they are. --- src/python/SConscript | 1 - 1 file changed, 1 deletion(-) diff --git a/src/python/SConscript b/src/python/SConscript index fc90bd3d9..42c952267 100644 --- a/src/python/SConscript +++ b/src/python/SConscript @@ -8,7 +8,6 @@ localenv = env.Clone() gcv = distutils.sysconfig.get_config_var localenv.Append(CPPPATH=[gcv('INCLUDEPY'), env['python_array_include']], - SHLINKFLAGS=gcv('LDFLAGS'), CPPFLAGS=((gcv('BASECFLAGS') or '').split() + (gcv('OPT') or '').split()))