diff options
-rw-r--r-- | source/blender/bpython/intern/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/bpython/intern/Makefile b/source/blender/bpython/intern/Makefile index cb67e195aa8..b6c84196f4d 100644 --- a/source/blender/bpython/intern/Makefile +++ b/source/blender/bpython/intern/Makefile @@ -47,7 +47,11 @@ CPPFLAGS += -DFUTURE_PYTHON_API # see api.h for configuration # OpenGL and Python CPPFLAGS += -I$(OPENGL_HEADERS) -CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) +ifeq ($(OS),$(findstring $(OS), "freebsd")) + CPPFLAGS += -I$(NAN_PYTHON)$(NAN_PYTHON_VERSION) +else + CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) +endif CPPFLAGS += -I$(NAN_BMFONT)/include/ # Reference to the types in makesdna and imbuf |