From: Ronald Oussoren Date: Mon, 5 Apr 2010 11:21:21 +0000 (+0000) Subject: Ensure that the gdb hooks can be installed when X-Git-Tag: v2.7b1~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=891cd8341322c8bc99584de4b9177d990f2848e2;p=python 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. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 4afa5ec09e..1047f438f5 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