[Python-checkins] cpython: use the Include in srcdir

benjamin.peterson python-checkins at python.org
Tue Jun 28 16:40:21 CEST 2011


http://hg.python.org/cpython/rev/f8f1d5691ae8
changeset:   71036:f8f1d5691ae8
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Jun 28 09:26:39 2011 -0500
summary:
  use the Include in srcdir

files:
  Makefile.pre.in |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -73,7 +73,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
-PY_CPPFLAGS=	-I. -IInclude $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
+PY_CPPFLAGS=	-I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
 PY_LDFLAGS=	$(CONFIGURE_LDFLAGS) $(LDFLAGS)
 NO_AS_NEEDED=	@NO_AS_NEEDED@
 LDLAST=		@LDLAST@

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list