Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9ba90c9f
Commit
9ba90c9f
authored
May 07, 2014
by
doko@ubuntu.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Issue #17752: Fix distutils tests when run from the installed location.
parent
4773b908
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
15 deletions
+17
-15
Lib/distutils/tests/support.py
Lib/distutils/tests/support.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+7
-7
configure.ac
configure.ac
+7
-7
No files found.
Lib/distutils/tests/support.py
View file @
9ba90c9f
...
...
@@ -218,4 +218,4 @@ def fixup_build_ext(cmd):
cmd
.
library_dirs
=
[]
else
:
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
View file @
9ba90c9f
...
...
@@ -329,6 +329,8 @@ IDLE
Tests
-----
-
Issue
#
17752
:
Fix
distutils
tests
when
run
from
the
installed
location
.
-
Issue
#
18604
:
Consolidated
checks
for
GUI
availability
.
All
platforms
now
at
least
check
whether
Tk
can
be
instantiated
when
the
GUI
resource
is
requested
.
...
...
configure
View file @
9ba90c9f
...
...
@@ -5326,7 +5326,7 @@ $as_echo_n "checking LDLIBRARY... " >&6; }
if
test
"
$enable_framework
"
then
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
=
''
else
BLDLIBRARY
=
'$(LDLIBRARY)'
...
...
@@ -5348,13 +5348,13 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
SunOS
*
)
LDLIBRARY
=
'libpython$(VERSION).so'
BLDLIBRARY
=
'-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
${
LD_LIBRARY_PATH
:+:
${
LD_LIBRARY_PATH
}
}
INSTSONAME
=
"
$LDLIBRARY
"
.
$SOVERSION
;;
Linux
*
|
GNU
*
|
NetBSD
*
|
FreeBSD
*
|
DragonFly
*
|
OpenBSD
*
)
LDLIBRARY
=
'libpython$(VERSION).so'
BLDLIBRARY
=
'-L. -lpython$(VERSION)'
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
${
LD_LIBRARY_PATH
:+:
${
LD_LIBRARY_PATH
}
}
case
$ac_sys_system
in
FreeBSD
*
)
SOVERSION
=
`
echo
$SOVERSION
|cut
-d
"."
-f
1
`
...
...
@@ -5372,12 +5372,12 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
;;
esac
BLDLIBRARY
=
'-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED
=
SHLIB_PATH
=
`
pwd
`
:
${
SHLIB_PATH
}
RUNSHARED
=
SHLIB_PATH
=
`
pwd
`
${
SHLIB_PATH
:+:
${
SHLIB_PATH
}
}
;;
OSF
*
)
LDLIBRARY
=
'libpython$(VERSION).so'
BLDLIBRARY
=
'-rpath $(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
:
${
LD_LIBRARY_PATH
}
RUNSHARED
=
LD_LIBRARY_PATH
=
`
pwd
`
${
LD_LIBRARY_PATH
:+:
${
LD_LIBRARY_PATH
}
}
;;
atheos
*
)
LDLIBRARY
=
'libpython$(VERSION).so'
...
...
@@ -5387,11 +5387,11 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
Darwin
*
)
LDLIBRARY
=
'libpython$(VERSION).dylib'
BLDLIBRARY
=
'-L. -lpython$(VERSION)'
RUNSHARED
=
'DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}'
RUNSHARED
=
DYLD_LIBRARY_PATH
=
`
pwd
`
${
DYLD_LIBRARY_PATH
:+:
${
DYLD_LIBRARY_PATH
}}
;;
AIX
*
)
LDLIBRARY
=
'libpython$(VERSION).so'
RUNSHARED
=
LIBPATH
=
`
pwd
`
:
${
LIBPATH
}
RUNSHARED
=
LIBPATH
=
`
pwd
`
${
LIBPATH
:+:
${
LIBPATH
}
}
;;
esac
...
...
configure.ac
View file @
9ba90c9f
...
...
@@ -860,7 +860,7 @@ AC_MSG_CHECKING(LDLIBRARY)
if test "$enable_framework"
then
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=''
else
BLDLIBRARY='$(LDLIBRARY)'
...
...
@@ -880,13 +880,13 @@ if test $enable_shared = "yes"; then
SunOS*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`
:${LD_LIBRARY_PATH
}
RUNSHARED=LD_LIBRARY_PATH=`pwd`
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}
}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`
:${LD_LIBRARY_PATH
}
RUNSHARED=LD_LIBRARY_PATH=`pwd`
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}
}
case $ac_sys_system in
FreeBSD*)
SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
...
...
@@ -904,12 +904,12 @@ if test $enable_shared = "yes"; then
;;
esac
BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=SHLIB_PATH=`pwd`
:${SHLIB_PATH
}
RUNSHARED=SHLIB_PATH=`pwd`
${SHLIB_PATH:+:${SHLIB_PATH}
}
;;
OSF*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`
:${LD_LIBRARY_PATH
}
RUNSHARED=LD_LIBRARY_PATH=`pwd`
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}
}
;;
atheos*)
LDLIBRARY='libpython$(VERSION).so'
...
...
@@ -919,11 +919,11 @@ if test $enable_shared = "yes"; then
Darwin*)
LDLIBRARY='libpython$(VERSION).dylib'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=
'DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}'
RUNSHARED=
DYLD_LIBRARY_PATH=`pwd`${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}
;;
AIX*)
LDLIBRARY='libpython$(VERSION).so'
RUNSHARED=LIBPATH=`pwd`
:${LIBPATH
}
RUNSHARED=LIBPATH=`pwd`
${LIBPATH:+:${LIBPATH}
}
;;
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