summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/Makefile.pre.in b/Misc/Makefile.pre.in
index 31d491d..e3ad693 100644
--- a/Misc/Makefile.pre.in
+++ b/Misc/Makefile.pre.in
@@ -95,7 +95,7 @@ TARGET= python
PYTHON= python
# Add more -I and -D options here
-CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(LIBPL) $(DEFS)
+CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS)
# These two variables can be set in Setup to merge extensions.
# See example[23].
@@ -148,6 +148,7 @@ SCRIPTDIR= $(prefix)/lib
BINLIBDEST= $(LIBDIR)/python$(VERSION)
LIBDEST= $(SCRIPTDIR)/python$(VERSION)
INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)
+EXECINCLUDEPY= $(exec_installdir)/include/python$(VERSION)
LIBP= $(exec_installdir)/lib/python$(VERSION)
DESTSHARED= $(BINLIBDEST)/site-packages