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
4104db39
Kaydet (Commit)
4104db39
authored
Agu 04, 2002
tarafından
Andrew MacIntyre
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- comment improvement
- implement viable library search routine for EMX
üst
428a38c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
emxccompiler.py
Lib/distutils/emxccompiler.py
+25
-1
No files found.
Lib/distutils/emxccompiler.py
Dosyayı görüntüle @
4104db39
...
...
@@ -177,7 +177,8 @@ class EMXCCompiler (UnixCCompiler):
# -- Miscellaneous methods -----------------------------------------
# overwrite the one from CCompiler to support rc and res-files
# override the object_filenames method from CCompiler to
# support rc and res-files
def
object_filenames
(
self
,
source_filenames
,
strip_dir
=
0
,
...
...
@@ -204,6 +205,29 @@ class EMXCCompiler (UnixCCompiler):
# object_filenames ()
# override the find_library_file method from UnixCCompiler
# to deal with file naming/searching differences
def
find_library_file
(
self
,
dirs
,
lib
,
debug
=
0
):
shortlib
=
'
%
s.lib'
%
lib
longlib
=
'lib
%
s.lib'
%
lib
# this form very rare
# get EMX's default library directory search path
try
:
emx_dirs
=
os
.
environ
[
'LIBRARY_PATH'
]
.
split
(
';'
)
except
KeyError
:
emx_dirs
=
[]
for
dir
in
dirs
+
emx_dirs
:
shortlibp
=
os
.
path
.
join
(
dir
,
shortlib
)
longlibp
=
os
.
path
.
join
(
dir
,
longlib
)
if
os
.
path
.
exists
(
shortlibp
):
return
shortlibp
elif
os
.
path
.
exists
(
longlibp
):
return
longlibp
# Oops, didn't find it in *any* of 'dirs'
return
None
# class EMXCCompiler
...
...
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