[Distutils] Solaris and distutils: Need to pass LIBDIR explicitly with -L when building extensions?
Tarek Ziade
tarek.ziade at ingeniweb.com
Sun Feb 1 11:12:17 CET 2009
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
> this.
Yes thanks to report this, I'll apply your fix,
Regards
Tarek
--
Tarek Ziadé - Directeur Technique
INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632
Bureaux de la Colline - 1 rue Royale - Bâtiment D - 9ème étage
92210 Saint Cloud - France
Phone : 01.78.15.24.00 / Fax : 01 46 02 44 04
http://www.ingeniweb.com - une société du groupe Alter Way
More information about the Distutils-SIG
mailing list