From 891cd8341322c8bc99584de4b9177d990f2848e2 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Mon, 5 Apr 2010 11:21:21 +0000 Subject: 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. --- Makefile.pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12