Use FreeBSD's default python location when on FreeBSD

This commit is contained in:
Hans Lambermont
2003-01-04 00:19:53 +00:00
parent 5fda04dfdc
commit b506bdb2b7

View File

@@ -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