26 Jan
2001
26 Jan
'01
10:28 p.m.
On Fri, Jan 26, 2001 at 07:26:12AM -0800, Neil Schemenauer wrote:
I'm not sure how distutils figures out what to use for ld. It doesn't appear in the Makefile. It think this is probably some distutils thing. Andrew?
It looks at LDSHARED. See customize_compiler in Lib/distutils/sysconfig.py. Looking in Modules/Makefile, LDFLAGS is only used for the final link to produce a Python executable, so I think this is up to the Makefile, not setup.py. --amk