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
7db57b3b
Kaydet (Commit)
7db57b3b
authored
Agu 03, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #870382: Automatically add msvcr71 to the list of libraries if
Python was built with VC 7.1.
üst
61147f63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
cygwinccompiler.py
Lib/distutils/cygwinccompiler.py
+23
-0
No files found.
Lib/distutils/cygwinccompiler.py
Dosyayı görüntüle @
7db57b3b
...
...
@@ -122,6 +122,17 @@ class CygwinCCompiler (UnixCCompiler):
"Consider upgrading to a newer version of gcc"
)
else
:
self
.
dll_libraries
=
[]
# Include the appropriate MSVC runtime library if Python was built
# with MSVC 7.0 or 7.1.
msc_pos
=
sys
.
version
.
find
(
'MSC v.'
)
if
msc_pos
!=
-
1
:
msc_ver
=
sys
.
version
[
msc_pos
+
6
:
msc_pos
+
10
]
if
msc_ver
==
'1300'
:
# MSVC 7.0
self
.
dll_libraries
=
[
'msvcr70'
]
elif
msc_ver
==
'1310'
:
# MSVC 7.1
self
.
dll_libraries
=
[
'msvcr71'
]
# __init__ ()
...
...
@@ -308,6 +319,18 @@ class Mingw32CCompiler (CygwinCCompiler):
# no additional libraries needed
self
.
dll_libraries
=
[]
# Include the appropriate MSVC runtime library if Python was built
# with MSVC 7.0 or 7.1.
msc_pos
=
sys
.
version
.
find
(
'MSC v.'
)
if
msc_pos
!=
-
1
:
msc_ver
=
sys
.
version
[
msc_pos
+
6
:
msc_pos
+
10
]
if
msc_ver
==
'1300'
:
# MSVC 7.0
self
.
dll_libraries
=
[
'msvcr70'
]
elif
msc_ver
==
'1310'
:
# MSVC 7.1
self
.
dll_libraries
=
[
'msvcr71'
]
# __init__ ()
# class Mingw32CCompiler
...
...
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