File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,11 +247,10 @@ def finalize_options(self):
247247 # building python standard extensions
248248 self .library_dirs .append ('.' )
249249
250- # for extensions under Linux or Solaris with a shared Python library,
250+ # For building extensions with a shared Python library,
251251 # Python's library directory must be appended to library_dirs
252- sysconfig .get_config_var ('Py_ENABLE_SHARED' )
253- if (sys .platform .startswith (('linux' , 'gnu' , 'sunos' ))
254- and sysconfig .get_config_var ('Py_ENABLE_SHARED' )):
252+ # See Issues: #1600860, #4366
253+ if (sysconfig .get_config_var ('Py_ENABLE_SHARED' )):
255254 if sys .executable .startswith (os .path .join (sys .exec_prefix , "bin" )):
256255 # building third party extensions
257256 self .library_dirs .append (sysconfig .get_config_var ('LIBDIR' ))
Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ Core and Builtins
7171Library
7272-------
7373
74+ - Issue #4366: Fix building extensions on all platforms when --enable-shared
75+ is used.
76+
7477- Issue #18950: Fix miscellaneous bugs in the sunau module.
7578 Au_read.readframes() now updates current file position and reads correct
7679 number of frames from multichannel stream. Au_write.writeframesraw() now
You can’t perform that action at this time.
0 commit comments