Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
061f1328
Kaydet (Commit)
061f1328
authored
Agu 29, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #973204: Use -rpath instead of -R on Irix and Tru64.
üst
e064b41f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
ccompiler.py
Lib/distutils/ccompiler.py
+5
-1
unixccompiler.py
Lib/distutils/unixccompiler.py
+2
-0
No files found.
Lib/distutils/ccompiler.py
Dosyayı görüntüle @
061f1328
...
@@ -1241,7 +1241,11 @@ def gen_lib_options (compiler, library_dirs, runtime_library_dirs, libraries):
...
@@ -1241,7 +1241,11 @@ def gen_lib_options (compiler, library_dirs, runtime_library_dirs, libraries):
lib_opts
.
append
(
compiler
.
library_dir_option
(
dir
))
lib_opts
.
append
(
compiler
.
library_dir_option
(
dir
))
for
dir
in
runtime_library_dirs
:
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!
# XXX it's important that we *not* remove redundant library mentions!
# sometimes you really do have to say "-lfoo -lbar -lfoo" in order to
# sometimes you really do have to say "-lfoo -lbar -lfoo" in order to
...
...
Lib/distutils/unixccompiler.py
Dosyayı görüntüle @
061f1328
...
@@ -205,6 +205,8 @@ class UnixCCompiler(CCompiler):
...
@@ -205,6 +205,8 @@ class UnixCCompiler(CCompiler):
return
"-L"
+
dir
return
"-L"
+
dir
elif
sys
.
platform
[:
5
]
==
"hp-ux"
:
elif
sys
.
platform
[:
5
]
==
"hp-ux"
:
return
"+s -L"
+
dir
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++"
:
elif
compiler
[:
3
]
==
"gcc"
or
compiler
[:
3
]
==
"g++"
:
return
"-Wl,-R"
+
dir
return
"-Wl,-R"
+
dir
else
:
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