and the other FreeBSD python locations.
[blender.git] / source / gameengine / GamePlayer / ghost / Makefile
index 7e9735a4bd84ce5748597e14d7ec603a80fc86d2..ba6d2b23718995508474e305c799b8d9c4a92656 100644 (file)
@@ -78,5 +78,10 @@ CPPFLAGS += -I../../../kernel/gen_messaging
 
 CPPFLAGS += -I$(NAN_STRING)/include
 CPPFLAGS += -I$(NAN_GHOST)/include
-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
+