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
18c47f6a
Commit
18c47f6a
authored
Mar 13, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #1569798: fix a bug in distutils when building Python from a
directory within sys.exec_prefix.
parent
b6a87542
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/distutils/command/build_ext.py
Lib/distutils/command/build_ext.py
+2
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/command/build_ext.py
View file @
18c47f6a
...
...
@@ -186,7 +186,7 @@ class build_ext (Command):
# for extensions under Cygwin and AtheOS Python's library directory must be
# appended to library_dirs
if
sys
.
platform
[:
6
]
==
'cygwin'
or
sys
.
platform
[:
6
]
==
'atheos'
:
if
s
tring
.
find
(
sys
.
executable
,
sys
.
exec_prefix
)
!=
-
1
:
if
s
ys
.
executable
.
startswith
(
os
.
path
.
join
(
sys
.
exec_prefix
,
"bin"
))
:
# building third party extensions
self
.
library_dirs
.
append
(
os
.
path
.
join
(
sys
.
prefix
,
"lib"
,
"python"
+
get_python_version
(),
...
...
@@ -199,7 +199,7 @@ class build_ext (Command):
# Python's library directory must be appended to library_dirs
if
(
sys
.
platform
.
startswith
(
'linux'
)
or
sys
.
platform
.
startswith
(
'gnu'
))
\
and
sysconfig
.
get_config_var
(
'Py_ENABLE_SHARED'
):
if
s
tring
.
find
(
sys
.
executable
,
sys
.
exec_prefix
)
!=
-
1
:
if
s
ys
.
executable
.
startswith
(
os
.
path
.
join
(
sys
.
exec_prefix
,
"bin"
))
:
# building third party extensions
self
.
library_dirs
.
append
(
sysconfig
.
get_config_var
(
'LIBDIR'
))
else
:
...
...
Misc/NEWS
View file @
18c47f6a
...
...
@@ -646,6 +646,9 @@ Tools/Demos
Build
-----
- Patch #1569798: fix a bug in distutils when building Python from a
directory within sys.exec_prefix.
- Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
- Disable _XOPEN_SOURCE on NetBSD 1.x.
...
...
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