summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 4bc5a8c..4afa5ec 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -442,8 +442,9 @@ libpython$(VERSION).sl: $(LIBRARY_OBJS)
# to the stripped DWARF data for the shared library.
gdbhooks: $(BUILDPYTHON)-gdb.py
-$(BUILDPYTHON)-gdb.py: Tools/gdb/libpython.py
- $(INSTALL_DATA) $< $(BUILDPYTHON)-gdb.py
+SRC_GDB_HOOKS=Tools/gdb/libpython.py
+$(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
+ $(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
# minimal framework (not including the Lib directory and such) in the current