Use FreeBSD's default python location when on FreeBSD
This commit is contained in:
@@ -47,7 +47,11 @@ CPPFLAGS += -DFUTURE_PYTHON_API # see api.h for configuration
|
|||||||
|
|
||||||
# OpenGL and Python
|
# OpenGL and Python
|
||||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
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/
|
CPPFLAGS += -I$(NAN_BMFONT)/include/
|
||||||
|
|
||||||
# Reference to the types in makesdna and imbuf
|
# Reference to the types in makesdna and imbuf
|
||||||
|
Reference in New Issue
Block a user