File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,9 @@ def fixup_build_ext(cmd):
188188 cmd = build_ext(dist)
189189 support.fixup_build_ext(cmd)
190190 cmd.ensure_finalized()
191+
192+ Unlike most other Unix platforms, Mac OS X embeds absolute paths
193+ to shared libraries into executables, so the fixup is not needed there.
191194 """
192195 if os .name == 'nt' :
193196 cmd .debug = sys .executable .endswith ('_d.exe' )
@@ -199,5 +202,8 @@ def fixup_build_ext(cmd):
199202 if runshared is None :
200203 cmd .library_dirs = ['.' ]
201204 else :
202- name , equals , value = runshared .partition ('=' )
203- cmd .library_dirs = value .split (os .pathsep )
205+ if sys .platform == 'darwin' :
206+ cmd .library_dirs = []
207+ else :
208+ name , equals , value = runshared .partition ('=' )
209+ cmd .library_dirs = value .split (os .pathsep )
Original file line number Diff line number Diff line change @@ -463,6 +463,8 @@ Core and Builtins
463463Library
464464-------
465465
466+ - Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.
467+
466468- Issue #13676: Handle strings with embedded zeros correctly in sqlite3.
467469
468470- Issue #13506: Add '' to path for IDLE Shell when started and restarted with Restart Shell.
You can’t perform that action at this time.
0 commit comments