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
115930d9
Kaydet (Commit)
115930d9
authored
Eki 08, 2006
tarafından
Ronald Oussoren
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Backport of r52236
üst
bf4358a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
unixccompiler.py
Lib/distutils/unixccompiler.py
+16
-0
No files found.
Lib/distutils/unixccompiler.py
Dosyayı görüntüle @
115930d9
...
...
@@ -82,6 +82,22 @@ def _darwin_compiler_fixup(compiler_so, cc_args):
except
ValueError
:
pass
# Check if the SDK that is used during compilation actually exists,
# the universal build requires the usage of a universal SDK and not all
# users have that installed by default.
sysroot
=
None
if
'-isysroot'
in
cc_args
:
idx
=
cc_args
.
index
(
'-isysroot'
)
sysroot
=
cc_args
[
idx
+
1
]
elif
'-isysroot'
in
compiler_so
:
idx
=
compiler_so
.
index
(
'-isysroot'
)
sysroot
=
compiler_so
[
idx
+
1
]
if
sysroot
and
not
os
.
path
.
isdir
(
sysroot
):
log
.
warn
(
"Compiling with an SDK that doesn't seem to exist:
%
s"
,
sysroot
)
log
.
warn
(
"Please check your Xcode installation"
)
return
compiler_so
class
UnixCCompiler
(
CCompiler
):
...
...
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