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.
This commit is contained in:
Ray Speth 2012-05-07 18:20:05 +00:00
parent 58e3bade9a
commit 79a0165260

View file

@ -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()))