[Python-Dev] problems building Python 2.1a1 on QNX 4.25
Andrew M. Kuchling
akuchlin@mems-exchange.org
Fri, 26 Jan 2001 17:28:03 -0500
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