Commit 891cd834 authored by Ronald Oussoren's avatar Ronald Oussoren

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.
parent d341ec82
...@@ -442,7 +442,7 @@ libpython$(VERSION).sl: $(LIBRARY_OBJS) ...@@ -442,7 +442,7 @@ libpython$(VERSION).sl: $(LIBRARY_OBJS)
# to the stripped DWARF data for the shared library. # to the stripped DWARF data for the shared library.
gdbhooks: $(BUILDPYTHON)-gdb.py 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) $(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
$(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py $(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment