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
4d32c9c1
Commit
4d32c9c1
authored
Jun 04, 2010
by
Stefan Krah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect missing ldd on all systems.
parent
5e2b27b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
setup.py
setup.py
+2
-1
No files found.
setup.py
View file @
4d32c9c1
...
...
@@ -15,6 +15,7 @@ from distutils.core import Extension, setup
from
distutils.command.build_ext
import
build_ext
from
distutils.command.install
import
install
from
distutils.command.install_lib
import
install_lib
from
distutils.spawn
import
find_executable
# Were we compiled --with-pydebug or with #define Py_DEBUG?
COMPILED_WITH_PYDEBUG
=
hasattr
(
sys
,
'gettotalrefcount'
)
...
...
@@ -591,7 +592,7 @@ class PyBuildExt(build_ext):
readline_termcap_library = ""
curses_library = ""
# Determine if readline is already linked against curses or tinfo.
if do_readline and
platform != 'darwin': # OS X does not have ldd.
if do_readline and
find_executable('ldd'):
fp = os.popen("
ldd
%
s
" % do_readline)
for ln in fp:
if 'curses' in ln:
...
...
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