From 8c5f949cb25d4b7149f40477bbb4aa1c688daf23 Mon Sep 17 00:00:00 2001 From: Frank van Beek Date: Mon, 24 Feb 2003 19:04:20 +0000 Subject: [PATCH] - python include path is now taken from nan_definitions.mk --- intern/python/freeze/makemakefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/python/freeze/makemakefile.py b/intern/python/freeze/makemakefile.py index 847066e42da..0e97ad81147 100644 --- a/intern/python/freeze/makemakefile.py +++ b/intern/python/freeze/makemakefile.py @@ -28,7 +28,7 @@ def makemakefile(outfp, makevars, files, target): outfp.write("\n\ninclude nan_definitions.mk\n") outfp.write("ifeq ($(OS),windows)\n") outfp.write(" CC=$(NANBLENDERHOME)/source/tools/cygwin/cl_wrapper.pl\n") - outfp.write(" CFLAGS=-I../../../../../lib/windows/python/include/python2.2/ $(OPT)\n") + outfp.write(" CFLAGS=-I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) $(OPT)\n") outfp.write("endif\n") outfp.write("\nall: %s\n\n" % libtarget)