]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 8287: try to fix the gdb-python install errors on Solaris
authorR. David Murray <rdmurray@bitdance.com>
Mon, 5 Apr 2010 01:34:50 +0000 (01:34 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 5 Apr 2010 01:34:50 +0000 (01:34 +0000)
and FreeBSD.  Patch by Dave Malcolm.

Makefile.pre.in

index 4bc5a8cc1e589aed706eba23ea71ade7d0991237..4afa5ec09ec720a62cbc6d357308e0851e16b2e2 100644 (file)
@@ -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