[Python-checkins] r57991 - in python/trunk: Makefile.pre.in Misc/NEWS Modules/makesetup
martin.v.loewis
python-checkins at python.org
Wed Sep 5 13:47:35 CEST 2007
Author: martin.v.loewis
Date: Wed Sep 5 13:47:34 2007
New Revision: 57991
Modified:
python/trunk/Makefile.pre.in
python/trunk/Misc/NEWS
python/trunk/Modules/makesetup
Log:
Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.
Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in (original)
+++ python/trunk/Makefile.pre.in Wed Sep 5 13:47:34 2007
@@ -61,7 +61,7 @@
# Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
# be able to build extension modules using the directories specified in the
# environment variables
-CPPFLAGS= -I. -I$(srcdir)/Include @CPPFLAGS@
+CPPFLAGS= -I. -IInclude -I$(srcdir)/Include @CPPFLAGS@
LDFLAGS= @LDFLAGS@
LDLAST= @LDLAST@
SGI_ABI= @SGI_ABI@
@@ -471,6 +471,7 @@
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
+ -@ mkdir Include
-$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
$(PGEN): $(PGENOBJS)
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Wed Sep 5 13:47:34 2007
@@ -960,6 +960,9 @@
Build
-----
+- Patch #786737: Allow building in a tree of symlinks pointing to
+ a readonly source.
+
- Bug #1737210: Change Manufacturer of Windows installer to PSF.
- Bug #1746880: Correctly install DLLs into system32 folder on Win64.
Modified: python/trunk/Modules/makesetup
==============================================================================
--- python/trunk/Modules/makesetup (original)
+++ python/trunk/Modules/makesetup Wed Sep 5 13:47:34 2007
@@ -238,7 +238,7 @@
no) SHAREDMODS="$SHAREDMODS $file";;
esac
rule="$file: $objs"
- rule="$rule; \$(LDSHARED) $objs $libs $ExtraLibs -o $file"
+ rule="$rule; \$(BLDSHARED) $objs $libs $ExtraLibs -o $file"
echo "$rule" >>$rulesf
done
done
More information about the Python-checkins
mailing list