and the other FreeBSD python locations.
[blender.git] / source / gameengine / GamePlayer / common / unix / Makefile
index cbc3a358b40427c487bcbdfe7a909deb114db21c..ebaebc7ecca213432547fde2a2f6781540200368 100644 (file)
@@ -43,7 +43,12 @@ CPPFLAGS += -I$(NAN_STRING)/include
 
 CPPFLAGS += -I..
 CPPFLAGS += -I../../netscape/src/ketsji
-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
+
 
 # Game Engine
 CPPFLAGS += -I../../../../gameengine/Converter