]> granicus.if.org Git - python/commitdiff
use the Include in srcdir
authorBenjamin Peterson <benjamin@python.org>
Tue, 28 Jun 2011 14:26:39 +0000 (09:26 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 28 Jun 2011 14:26:39 +0000 (09:26 -0500)
Makefile.pre.in

index 99df1c19fcbdd2510a7e0527a8c798858fd257ae..300a6682f8d2dbabb135c74de9f5727dc87b157f 100644 (file)
@@ -73,7 +73,7 @@ PY_CFLAGS=    $(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) $(EXTRA_CFLAGS)
 # 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@