[Python-checkins] r79795 - python/trunk/Makefile.pre.in

ronald.oussoren python-checkins at python.org
Mon Apr 5 13:21:22 CEST 2010


Author: ronald.oussoren
Date: Mon Apr  5 13:21:21 2010
New Revision: 79795

Log:
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.


Modified:
   python/trunk/Makefile.pre.in

Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Mon Apr  5 13:21:21 2010
@@ -442,7 +442,7 @@
 # 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
 


More information about the Python-checkins mailing list