
22 Mar
2006
22 Mar
'06
9:36 p.m.
Martin Wille wrote:
In case of Python, everything should be built in.
Using
python -c "import distutils.sysconfig; print\ distutils.sysconfig.get_config_var('LIBS')
one can query a lot of information from the installed Python package. Among the interesting variables to query are:
LIBS, LIBPL, VERSION, LIBDIR, LIBDEST
Using those, the build system could figure out most, probably even all, it needs.
In theory you are right. In practice, however, distutils reported wrong libraries in one particular case (cygwin, IIRC). Oh well... Regards, Stefan