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
643238eb
Kaydet (Commit)
643238eb
authored
Eyl 28, 2013
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #4366: Fix building extensions on all platforms when --enable-shared is used.
üst
3103631f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
build_ext.py
Lib/distutils/command/build_ext.py
+3
-4
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/command/build_ext.py
Dosyayı görüntüle @
643238eb
...
@@ -247,11 +247,10 @@ class build_ext(Command):
...
@@ -247,11 +247,10 @@ class build_ext(Command):
# building python standard extensions
# building python standard extensions
self
.
library_dirs
.
append
(
'.'
)
self
.
library_dirs
.
append
(
'.'
)
#
for extensions under Linux or Solari
s with a shared Python library,
#
For building extension
s with a shared Python library,
# Python's library directory must be appended to library_dirs
# Python's library directory must be appended to library_dirs
sysconfig
.
get_config_var
(
'Py_ENABLE_SHARED'
)
# See Issues: #1600860, #4366
if
(
sys
.
platform
.
startswith
((
'linux'
,
'gnu'
,
'sunos'
))
if
(
sysconfig
.
get_config_var
(
'Py_ENABLE_SHARED'
)):
and
sysconfig
.
get_config_var
(
'Py_ENABLE_SHARED'
)):
if
sys
.
executable
.
startswith
(
os
.
path
.
join
(
sys
.
exec_prefix
,
"bin"
)):
if
sys
.
executable
.
startswith
(
os
.
path
.
join
(
sys
.
exec_prefix
,
"bin"
)):
# building third party extensions
# building third party extensions
self
.
library_dirs
.
append
(
sysconfig
.
get_config_var
(
'LIBDIR'
))
self
.
library_dirs
.
append
(
sysconfig
.
get_config_var
(
'LIBDIR'
))
...
...
Misc/NEWS
Dosyayı görüntüle @
643238eb
...
@@ -71,6 +71,9 @@ Core and Builtins
...
@@ -71,6 +71,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #4366: Fix building extensions on all platforms when --enable-shared
is used.
- Issue #18950: Fix miscellaneous bugs in the sunau module.
- Issue #18950: Fix miscellaneous bugs in the sunau module.
Au_read.readframes() now updates current file position and reads correct
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream. Au_write.writeframesraw() now
number of frames from multichannel stream. Au_write.writeframesraw() now
...
...
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