[Distutils] Solaris and distutils: Need to pass LIBDIR explicitly with -L when building extensions?
dpeterson at enthought.com
Mon Feb 2 19:29:50 CET 2009
Tarek Ziade wrote:
> 2009/1/31 Floris Bruynooghe <floris.bruynooghe at gmail.com>:
>>> I'm leaning more and more toward this is actually a bug
>>> with the distutils source on Solaris.
>> Yes, I agree now that it is a bug in distutils and I agree with your
>> fix. The if statement should check both that it is SunOS and that it
>> is using a shared python, just like the linux one. If fact the linux
>> one could just be modified:
>> if (sys.paltform.startswith('linux') \
>> or sys.platform.startswith('gnu') \
>> or sys.platform.startswith('sunos')) \
>> and sysconfig.get_config_var('Py_ENABLE_SHARED'):
>> I'll leave the honours of reporting the bug to you if you agree with
> Yes thanks to report this, I'll apply your fix,
It isn't clear to me if you fixed it already or were waiting for my
patch, but I just added issue 5132 to the Python issue tracker to
document the issue and provide a patch file.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG