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
8577e5ae
Kaydet (Commit)
8577e5ae
authored
May 07, 2014
tarafından
doko@ubuntu.com
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Issue #17752: Fix distutils tests when run from the installed location.
üst
024c5eec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
+15
-13
support.py
Lib/distutils/tests/support.py
+1
-1
NEWS
Misc/NEWS
+2
-0
configure
configure
+6
-6
configure.ac
configure.ac
+6
-6
No files found.
Lib/distutils/tests/support.py
Dosyayı görüntüle @
8577e5ae
...
@@ -207,4 +207,4 @@ def fixup_build_ext(cmd):
...
@@ -207,4 +207,4 @@ def fixup_build_ext(cmd):
cmd
.
library_dirs
=
[]
cmd
.
library_dirs
=
[]
else
:
else
:
name
,
equals
,
value
=
runshared
.
partition
(
'='
)
name
,
equals
,
value
=
runshared
.
partition
(
'='
)
cmd
.
library_dirs
=
value
.
split
(
os
.
pathsep
)
cmd
.
library_dirs
=
[
d
for
d
in
value
.
split
(
os
.
pathsep
)
if
d
]
Misc/NEWS
Dosyayı görüntüle @
8577e5ae
...
@@ -38,6 +38,8 @@ Library
...
@@ -38,6 +38,8 @@ Library
Tests
Tests
-----
-----
- Issue #17752: Fix distutils tests when run from the installed location.
- Issue #20946: Correct alignment assumptions of some ctypes tests.
- Issue #20946: Correct alignment assumptions of some ctypes tests.
- Issue #20939: Fix test_geturl failure in test_urllibnet due to
- Issue #20939: Fix test_geturl failure in test_urllibnet due to
...
...
configure
Dosyayı görüntüle @
8577e5ae
...
@@ -5576,7 +5576,7 @@ $as_echo_n "checking LDLIBRARY... " >&6; }
...
@@ -5576,7 +5576,7 @@ $as_echo_n "checking LDLIBRARY... " >&6; }
if
test
"
$enable_framework
"
if
test
"
$enable_framework
"
then
then
LDLIBRARY
=
'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
LDLIBRARY
=
'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
RUNSHARED
=
DYLD_FRAMEWORK_PATH
=
"
`
pwd
`
:
$DYLD_FRAMEWORK_PATH
"
RUNSHARED
=
DYLD_FRAMEWORK_PATH
=
`
pwd
`
${
DYLD_FRAMEWORK_PATH
:+:
${
DYLD_FRAMEWORK_PATH
}}
BLDLIBRARY
=
''
BLDLIBRARY
=
''
else
else
BLDLIBRARY
=
'$(LDLIBRARY)'
BLDLIBRARY
=
'$(LDLIBRARY)'
...
@@ -5595,7 +5595,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
...
@@ -5595,7 +5595,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
SunOS
*
)
SunOS
*
)
LDLIBRARY
=
'libpython$(LDVERSION).so'
LDLIBRARY
=
'libpython$(LDVERSION).so'
BLDLIBRARY
=
'-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
BLDLIBRARY
=
'-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
${
LD_LIBRARY_PATH
:+:
${
LD_LIBRARY_PATH
}
}
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
if
test
"
$with_pydebug
"
!=
yes
if
test
"
$with_pydebug
"
!=
yes
then
then
...
@@ -5605,7 +5605,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
...
@@ -5605,7 +5605,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
Linux
*
|
GNU
*
|
NetBSD
*
|
FreeBSD
*
|
DragonFly
*
|
OpenBSD
*
)
Linux
*
|
GNU
*
|
NetBSD
*
|
FreeBSD
*
|
DragonFly
*
|
OpenBSD
*
)
LDLIBRARY
=
'libpython$(LDVERSION).so'
LDLIBRARY
=
'libpython$(LDVERSION).so'
BLDLIBRARY
=
'-L. -lpython$(LDVERSION)'
BLDLIBRARY
=
'-L. -lpython$(LDVERSION)'
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
${
LD_LIBRARY_PATH
:+:
${
LD_LIBRARY_PATH
}
}
case
$ac_sys_system
in
case
$ac_sys_system
in
FreeBSD
*
)
FreeBSD
*
)
SOVERSION
=
`
echo
$SOVERSION
|cut
-d
"."
-f
1
`
SOVERSION
=
`
echo
$SOVERSION
|cut
-d
"."
-f
1
`
...
@@ -5627,16 +5627,16 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
...
@@ -5627,16 +5627,16 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
;;
;;
esac
esac
BLDLIBRARY
=
'-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
BLDLIBRARY
=
'-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED
=
SHLIB_PATH
=
`
pwd
`
:
${
SHLIB_PATH
}
RUNSHARED
=
SHLIB_PATH
=
`
pwd
`
${
SHLIB_PATH
:+:
${
SHLIB_PATH
}
}
;;
;;
Darwin
*
)
Darwin
*
)
LDLIBRARY
=
'libpython$(LDVERSION).dylib'
LDLIBRARY
=
'libpython$(LDVERSION).dylib'
BLDLIBRARY
=
'-L. -lpython$(LDVERSION)'
BLDLIBRARY
=
'-L. -lpython$(LDVERSION)'
RUNSHARED
=
'DYLD_LIBRARY_PATH=`pwd`
:${DYLD_LIBRARY_PATH
}'
RUNSHARED
=
'DYLD_LIBRARY_PATH=`pwd`
${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}
}'
;;
;;
AIX
*
)
AIX
*
)
LDLIBRARY
=
'libpython$(LDVERSION).so'
LDLIBRARY
=
'libpython$(LDVERSION).so'
RUNSHARED
=
LIBPATH
=
`
pwd
`
:
${
LIBPATH
}
RUNSHARED
=
LIBPATH
=
`
pwd
`
${
LIBPATH
:+:
${
LIBPATH
}
}
;;
;;
esac
esac
...
...
configure.ac
Dosyayı görüntüle @
8577e5ae
...
@@ -909,7 +909,7 @@ AC_MSG_CHECKING(LDLIBRARY)
...
@@ -909,7 +909,7 @@ AC_MSG_CHECKING(LDLIBRARY)
if test "$enable_framework"
if test "$enable_framework"
then
then
LDLIBRARY='$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
LDLIBRARY='$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
RUNSHARED=DYLD_FRAMEWORK_PATH=
"`pwd`:$DYLD_FRAMEWORK_PATH"
RUNSHARED=DYLD_FRAMEWORK_PATH=
`pwd`${DYLD_FRAMEWORK_PATH:+:${DYLD_FRAMEWORK_PATH}}
BLDLIBRARY=''
BLDLIBRARY=''
else
else
BLDLIBRARY='$(LDLIBRARY)'
BLDLIBRARY='$(LDLIBRARY)'
...
@@ -926,7 +926,7 @@ if test $enable_shared = "yes"; then
...
@@ -926,7 +926,7 @@ if test $enable_shared = "yes"; then
SunOS*)
SunOS*)
LDLIBRARY='libpython$(LDVERSION).so'
LDLIBRARY='libpython$(LDVERSION).so'
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`
:${LD_LIBRARY_PATH
}
RUNSHARED=LD_LIBRARY_PATH=`pwd`
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}
}
INSTSONAME="$LDLIBRARY".$SOVERSION
INSTSONAME="$LDLIBRARY".$SOVERSION
if test "$with_pydebug" != yes
if test "$with_pydebug" != yes
then
then
...
@@ -936,7 +936,7 @@ if test $enable_shared = "yes"; then
...
@@ -936,7 +936,7 @@ if test $enable_shared = "yes"; then
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(LDVERSION).so'
LDLIBRARY='libpython$(LDVERSION).so'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`
:${LD_LIBRARY_PATH
}
RUNSHARED=LD_LIBRARY_PATH=`pwd`
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}
}
case $ac_sys_system in
case $ac_sys_system in
FreeBSD*)
FreeBSD*)
SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
...
@@ -958,16 +958,16 @@ if test $enable_shared = "yes"; then
...
@@ -958,16 +958,16 @@ if test $enable_shared = "yes"; then
;;
;;
esac
esac
BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED=SHLIB_PATH=`pwd`
:${SHLIB_PATH
}
RUNSHARED=SHLIB_PATH=`pwd`
${SHLIB_PATH:+:${SHLIB_PATH}
}
;;
;;
Darwin*)
Darwin*)
LDLIBRARY='libpython$(LDVERSION).dylib'
LDLIBRARY='libpython$(LDVERSION).dylib'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
RUNSHARED='DYLD_LIBRARY_PATH=`pwd`
:${DYLD_LIBRARY_PATH
}'
RUNSHARED='DYLD_LIBRARY_PATH=`pwd`
${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}
}'
;;
;;
AIX*)
AIX*)
LDLIBRARY='libpython$(LDVERSION).so'
LDLIBRARY='libpython$(LDVERSION).so'
RUNSHARED=LIBPATH=`pwd`
:${LIBPATH
}
RUNSHARED=LIBPATH=`pwd`
${LIBPATH:+:${LIBPATH}
}
;;
;;
esac
esac
...
...
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