summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-08-13 22:25:01 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-08-13 22:25:01 (GMT)
commite9b428f9977f8733e6b0d2c321c093779f95080f (patch)
tree2583b8f93efed20d9d849cbd1b001e4282e32f00 /Makefile.pre.in
parent09c449c7de0fea077ceaee5cb04017d6994341e7 (diff)
downloadcpython-e9b428f9977f8733e6b0d2c321c093779f95080f.zip
cpython-e9b428f9977f8733e6b0d2c321c093779f95080f.tar.gz
cpython-e9b428f9977f8733e6b0d2c321c093779f95080f.tar.bz2
Reimplement addbuilddir() in C inside getpath.c, so as to execute it
at interpreter startup before importing any non-builtin modules. Should fix #9589.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 279e8d7..09d80d4 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1213,6 +1213,7 @@ distclean: clobber
Modules/Setup Modules/Setup.local Modules/Setup.config \
Misc/python.pc
-rm -f python*-gdb.py
+ -rm -f pybuilddir.txt
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \