Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(33680)

Unified Diff: Lib/distutils/command/build_ext.py

Issue 16754: Incorrect shared library extension on linux
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « configure.ac ('k') | Lib/distutils/sysconfig.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/distutils/command/build_ext.py Tue Mar 19 17:22:51 2013 -0700
+++ b/Lib/distutils/command/build_ext.py Tue Mar 19 18:36:56 2013 -0700
@@ -666,10 +666,10 @@
from distutils.sysconfig import get_config_var
ext_path = ext_name.split('.')
# extensions in debug_mode are named 'module_d.pyd' under windows
- so_ext = get_config_var('SO')
+ ext_suffix = get_config_var('EXT_SUFFIX')
if os.name == 'nt' and self.debug:
- return os.path.join(*ext_path) + '_d' + so_ext
- return os.path.join(*ext_path) + so_ext
+ return os.path.join(*ext_path) + '_d' + ext_suffix
+ return os.path.join(*ext_path) + ext_suffix
def get_export_symbols(self, ext):
"""Return the list of symbols that a shared extension has to
« no previous file with comments | « configure.ac ('k') | Lib/distutils/sysconfig.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+