mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-22 21:41:28 +08:00
hook.in: Fix prefix trailing slash on 64bit host arches.
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com> * python/hook.in: Fix prefix trailing slash on 64bit host arches. From-SVN: r151866
This commit is contained in:
parent
eb99f777b1
commit
172d0c8683
@ -1,3 +1,7 @@
|
||||
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* python/hook.in: Fix prefix trailing slash on 64bit host arches.
|
||||
|
||||
2009-09-17 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New.
|
||||
|
@ -40,7 +40,7 @@ if gdb.current_objfile () is not None:
|
||||
# In some bizarre configuration we might have found a match in the
|
||||
# middle of a directory name.
|
||||
if prefix[-1] != '/':
|
||||
prefix = os.path.dirname (prefix)
|
||||
prefix = os.path.dirname (prefix) + '/'
|
||||
|
||||
# Strip off the prefix.
|
||||
pythondir = pythondir[len (prefix):]
|
||||
|
Loading…
x
Reference in New Issue
Block a user