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
a46ed915
Commit
a46ed915
authored
Oct 07, 2008
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pay attention to -R entries in LDFLAGS.
parent
0d8372bd
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 @
a46ed915
...
...
@@ -320,12 +320,13 @@ class PyBuildExt(build_ext):
# the environment variable is not set even though the value were passed
# into configure and stored in the Makefile (issue found on OS X 10.3).
for
env_var
,
arg_name
,
dir_list
in
(
(
'LDFLAGS'
,
'-R'
,
self
.
compiler
.
runtime_library_dirs
),
(
'LDFLAGS'
,
'-L'
,
self
.
compiler
.
library_dirs
),
(
'CPPFLAGS'
,
'-I'
,
self
.
compiler
.
include_dirs
)):
env_val
=
sysconfig
.
get_config_var
(
env_var
)
if
env_val
:
# To prevent optparse from raising an exception about any
# options in env_val that i
s
doesn't know about we strip out
# options in env_val that i
t
doesn't know about we strip out
# all double dashes and any dashes followed by a character
# that is not for the option we are dealing with.
#
...
...
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