diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-04-05 11:21:21 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-04-05 11:21:21 (GMT) |
commit | 891cd8341322c8bc99584de4b9177d990f2848e2 (patch) | |
tree | d839bb5d9a841894c174f78fff82e7cb4a9e22fd /Makefile.pre.in | |
parent | d341ec82c78b000740d31db8621f652ced138581 (diff) | |
download | cpython-891cd8341322c8bc99584de4b9177d990f2848e2.zip cpython-891cd8341322c8bc99584de4b9177d990f2848e2.tar.gz cpython-891cd8341322c8bc99584de4b9177d990f2848e2.tar.bz2 |
Ensure that the gdb hooks can be installed when
srcdir != builddir.
Without this patch it is no longer possible to
build python when you don't run configure from
the root of the source tree.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 4afa5ec..1047f43 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -442,7 +442,7 @@ libpython$(VERSION).sl: $(LIBRARY_OBJS) # to the stripped DWARF data for the shared library. gdbhooks: $(BUILDPYTHON)-gdb.py -SRC_GDB_HOOKS=Tools/gdb/libpython.py +SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py $(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS) $(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py |