summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-04-05 01:34:50 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-04-05 01:34:50 (GMT)
commitdd194ab37b07a6f01da7d2981e5c2a504c6bdf98 (patch)
tree9601c1670adc8c832bab0a8ffef6f51584b374d3 /Makefile.pre.in
parent554303530c061c349f8fcf4ad4421d2c38cc6a19 (diff)
downloadcpython-dd194ab37b07a6f01da7d2981e5c2a504c6bdf98.zip
cpython-dd194ab37b07a6f01da7d2981e5c2a504c6bdf98.tar.gz
cpython-dd194ab37b07a6f01da7d2981e5c2a504c6bdf98.tar.bz2
Issue 8287: try to fix the gdb-python install errors on Solaris
and FreeBSD. Patch by Dave Malcolm.
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