From: Benjamin Peterson Date: Tue, 28 Jun 2011 14:26:39 +0000 (-0500) Subject: use the Include in srcdir X-Git-Tag: v3.3.0a1~2025 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4a51e6543e18a004735e75344009b832134db6e;p=python use the Include in srcdir --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 99df1c19fc..300a6682f8 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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@