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
3839d99b
Kaydet (Commit)
3839d99b
authored
Eki 01, 2016
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #13756: Fix building extensions modules on Cygwin
Patch by Roumen Petrov, based on original patch by Jason Tishler.
üst
e999e961
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
9 deletions
+5
-9
build_ext.py
Lib/distutils/command/build_ext.py
+0
-7
Makefile.pre.in
Makefile.pre.in
+1
-1
NEWS
Misc/NEWS
+3
-0
makesetup
Modules/makesetup
+1
-1
No files found.
Lib/distutils/command/build_ext.py
Dosyayı görüntüle @
3839d99b
...
@@ -715,13 +715,6 @@ class build_ext(Command):
...
@@ -715,13 +715,6 @@ class build_ext(Command):
return
ext
.
libraries
+
[
pythonlib
]
return
ext
.
libraries
+
[
pythonlib
]
else
:
else
:
return
ext
.
libraries
return
ext
.
libraries
elif
sys
.
platform
[:
6
]
==
"cygwin"
:
template
=
"python
%
d.
%
d"
pythonlib
=
(
template
%
(
sys
.
hexversion
>>
24
,
(
sys
.
hexversion
>>
16
)
&
0xff
))
# don't extend ext.libraries, it may be shared with other
# extensions, it is a reference to the original list
return
ext
.
libraries
+
[
pythonlib
]
elif
sys
.
platform
[:
6
]
==
"atheos"
:
elif
sys
.
platform
[:
6
]
==
"atheos"
:
from
distutils
import
sysconfig
from
distutils
import
sysconfig
...
...
Makefile.pre.in
Dosyayı görüntüle @
3839d99b
...
@@ -674,7 +674,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
...
@@ -674,7 +674,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
# This rule builds the Cygwin Python DLL and import library if configured
# This rule builds the Cygwin Python DLL and import library if configured
# for a shared core library; otherwise, this rule is a noop.
# for a shared core library; otherwise, this rule is a noop.
$(DLLLIBRARY) libpython$(VERSION).dll.a
:
$(LIBRARY_OBJS)
$(DLLLIBRARY) libpython$(
LD
VERSION).dll.a
:
$(LIBRARY_OBJS)
if
test
-n
"
$(DLLLIBRARY)
"
;
then
\
if
test
-n
"
$(DLLLIBRARY)
"
;
then
\
$(LDSHARED)
-Wl
,--out-implib
=
$@
-o
$(DLLLIBRARY)
$^
\
$(LDSHARED)
-Wl
,--out-implib
=
$@
-o
$(DLLLIBRARY)
$^
\
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
;
\
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
;
\
...
...
Misc/NEWS
Dosyayı görüntüle @
3839d99b
...
@@ -173,6 +173,9 @@ Windows
...
@@ -173,6 +173,9 @@ Windows
Build
Build
-----
-----
- Issue #13756: Fix building extensions modules on Cygwin. Patch by Roumen
Petrov, based on original patch by Jason Tishler.
- Issue #21085: Add configure check for siginfo_t.si_band, which Cygwin does
- Issue #21085: Add configure check for siginfo_t.si_band, which Cygwin does
not provide. Patch by Masayuki Yamamoto with review and rebase by Erik Bray.
not provide. Patch by Masayuki Yamamoto with review and rebase by Erik Bray.
...
...
Modules/makesetup
Dosyayı görüntüle @
3839d99b
...
@@ -91,7 +91,7 @@ CYGWIN*) if test $libdir = .
...
@@ -91,7 +91,7 @@ CYGWIN*) if test $libdir = .
else
else
ExtraLibDir
=
'$(LIBPL)'
ExtraLibDir
=
'$(LIBPL)'
fi
fi
ExtraLibs
=
"-L
$ExtraLibDir
-lpython
\$
(VERSION)"
;;
ExtraLibs
=
"-L
$ExtraLibDir
-lpython
\$
(
LD
VERSION)"
;;
esac
esac
# Main loop
# Main loop
...
...
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