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
4e63fbe0
Kaydet (Commit)
4e63fbe0
authored
Ock 25, 2013
tarafından
doko@python.org
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Issue #17029: Let h2py search the multiarch system include directory.
üst
b09ec9b6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
0 deletions
+19
-0
Makefile.pre.in
Makefile.pre.in
+4
-0
NEWS
Misc/NEWS
+2
-0
h2py.py
Tools/scripts/h2py.py
+6
-0
configure
configure
+4
-0
configure.ac
configure.ac
+3
-0
No files found.
Makefile.pre.in
Dosyayı görüntüle @
4e63fbe0
...
...
@@ -86,6 +86,9 @@ PY_CFLAGS= $(CFLAGS) $(CPPFLAGS) $(CFLAGSFORSHARED) -DPy_BUILD_CORE
# Machine-dependent subdirectories
MACHDEP
=
@MACHDEP@
# Multiarch directory (may be empty)
MULTIARCH
=
@MULTIARCH@
# Install prefix for architecture-independent files
prefix
=
@prefix@
...
...
@@ -980,6 +983,7 @@ $(srcdir)/Lib/$(PLATDIR):
export
PYTHONPATH
;
PYTHONPATH
=
"
`
pwd
`
/Lib"
;
\
export
DYLD_FRAMEWORK_PATH
;
DYLD_FRAMEWORK_PATH
=
"
`
pwd
`
"
;
\
export
EXE
;
EXE
=
"
$(BUILDEXE)
"
;
\
if
[
-n
"
$(MULTIARCH)
"
]
;
then
export
MULTIARCH
;
MULTIARCH
=
$(MULTIARCH)
;
fi
;
\
cd
$(srcdir)
/Lib/
$(PLATDIR)
;
$(RUNSHARED)
./regen
python-config
:
$(srcdir)/Misc/python-config.in
...
...
Misc/NEWS
Dosyayı görüntüle @
4e63fbe0
...
...
@@ -706,6 +706,8 @@ Tests
Build
-----
-
Issue
#
17029
:
Let
h2py
search
the
multiarch
system
include
directory
.
-
Issue
#
16953
:
Fix
socket
module
compilation
on
platforms
with
HAVE_BROKEN_POLL
.
Patch
by
Jeffrey
Armstrong
.
...
...
Tools/scripts/h2py.py
Dosyayı görüntüle @
4e63fbe0
...
...
@@ -58,6 +58,12 @@ except KeyError:
raise
KeyError
except
KeyError
:
searchdirs
=
[
'/usr/include'
]
try
:
searchdirs
.
insert
(
0
,
os
.
path
.
join
(
'/usr/include'
,
os
.
environ
[
'MULTIARCH'
]))
except
KeyError
:
pass
def
main
():
global
filedict
...
...
configure
Dosyayı görüntüle @
4e63fbe0
...
...
@@ -686,6 +686,7 @@ BUILDEXEEXT
EGREP
GREP
CPP
MULTIARCH
MAINCC
CXX
OBJEXT
...
...
@@ -4281,6 +4282,9 @@ $as_echo "$as_me: WARNING:
"
>
&2
;
}
fi
MULTIARCH
=
$(
$CC
--print-multiarch
2>/dev/null
)
# checks for UNIX variants that set C preprocessor variables
...
...
configure.ac
Dosyayı görüntüle @
4e63fbe0
...
...
@@ -603,6 +603,9 @@ then
])
fi
MULTIARCH=$($CC --print-multiarch 2>/dev/null)
AC_SUBST(MULTIARCH)
# checks for UNIX variants that set C preprocessor variables
AC_USE_SYSTEM_EXTENSIONS
...
...
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