Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f9b0255d
Commit
f9b0255d
authored
Feb 03, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
538343d6
cf550dcf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
Lib/distutils/tests/support.py
Lib/distutils/tests/support.py
+8
-2
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/distutils/tests/support.py
View file @
f9b0255d
...
...
@@ -188,6 +188,9 @@ def fixup_build_ext(cmd):
cmd = build_ext(dist)
support.fixup_build_ext(cmd)
cmd.ensure_finalized()
Unlike most other Unix platforms, Mac OS X embeds absolute paths
to shared libraries into executables, so the fixup is not needed there.
"""
if
os
.
name
==
'nt'
:
cmd
.
debug
=
sys
.
executable
.
endswith
(
'_d.exe'
)
...
...
@@ -199,5 +202,8 @@ def fixup_build_ext(cmd):
if
runshared
is
None
:
cmd
.
library_dirs
=
[
'.'
]
else
:
name
,
equals
,
value
=
runshared
.
partition
(
'='
)
cmd
.
library_dirs
=
value
.
split
(
os
.
pathsep
)
if
sys
.
platform
==
'darwin'
:
cmd
.
library_dirs
=
[]
else
:
name
,
equals
,
value
=
runshared
.
partition
(
'='
)
cmd
.
library_dirs
=
value
.
split
(
os
.
pathsep
)
Misc/NEWS
View file @
f9b0255d
...
...
@@ -463,6 +463,8 @@ Core and Builtins
Library
-------
-
Issue
#
13901
:
Prevent
test_distutils
failures
on
OS
X
with
--
enable
-
shared
.
-
Issue
#
13676
:
Handle
strings
with
embedded
zeros
correctly
in
sqlite3
.
-
Issue
#
13506
:
Add
''
to
path
for
IDLE
Shell
when
started
and
restarted
with
Restart
Shell
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment