Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
87a4bf20
Commit
87a4bf20
authored
Aug 29, 2004
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #973204: Use -rpath instead of -R on Irix and Tru64.
parent
78bb6f68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
ccompiler.py
ccompiler.py
+5
-1
unixccompiler.py
unixccompiler.py
+2
-0
No files found.
ccompiler.py
View file @
87a4bf20
...
...
@@ -1241,7 +1241,11 @@ def gen_lib_options (compiler, library_dirs, runtime_library_dirs, libraries):
lib_opts
.
append
(
compiler
.
library_dir_option
(
dir
))
for
dir
in
runtime_library_dirs
:
lib_opts
.
append
(
compiler
.
runtime_library_dir_option
(
dir
))
opt
=
compiler
.
runtime_library_dir_option
(
dir
)
if
type
(
opt
)
is
ListType
:
lib_opts
=
lib_opts
+
opt
else
:
lib_opts
.
append
(
opt
)
# XXX it's important that we *not* remove redundant library mentions!
# sometimes you really do have to say "-lfoo -lbar -lfoo" in order to
...
...
unixccompiler.py
View file @
87a4bf20
...
...
@@ -205,6 +205,8 @@ class UnixCCompiler(CCompiler):
return
"-L"
+
dir
elif
sys
.
platform
[:
5
]
==
"hp-ux"
:
return
"+s -L"
+
dir
elif
sys
.
platform
[:
7
]
==
"irix646"
or
sys
.
platform
[:
6
]
==
"osf1V5"
:
return
[
"-rpath"
,
dir
]
elif
compiler
[:
3
]
==
"gcc"
or
compiler
[:
3
]
==
"g++"
:
return
"-Wl,-R"
+
dir
else
:
...
...
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