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.
This commit is contained in:
Ronald Oussoren 2010-04-05 11:21:21 +00:00
parent d341ec82c7
commit 891cd83413
1 changed files with 1 additions and 1 deletions

View File

@ -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