Message249129
On linux, when CC is set, we expect that the LDSHARED is set accordingly.
Currently, only on OS X, the LDSHARED is set properly.
Below is the proposed patch
--- a/Lib/distutils/sysconfig.py 2015-08-24 11:58:37.265683872 -0700
+++ b/Lib/distutils/sysconfig.py 2015-08-24 11:57:29.673945173 -0700
@@ -180,9 +180,9 @@
if _USE_CLANG:
newcc = 'clang'
if newcc:
- # On OS X and linux, if CC is overridden, use that as the default
+ # On OS X, if CC is overridden, use that as the default
# command for LDSHARED as well
- if ((sys.platform == 'darwin' or sys.platform.startswith('linux'))
+ if (sys.platform == 'darwin'
and 'LDSHARED' not in os.environ
and ldshared.startswith(cc)):
ldshared = newcc + ldshared[len(cc):] |
|
Date |
User |
Action |
Args |
2015-08-25 15:47:24 | yunlian | set | recipients:
+ yunlian, eric.araujo, dstufft |
2015-08-25 15:47:24 | yunlian | set | messageid: <1440517644.33.0.785597906757.issue24935@psf.upfronthosting.co.za> |
2015-08-25 15:47:24 | yunlian | link | issue24935 messages |
2015-08-25 15:47:24 | yunlian | create | |
|