and the other FreeBSD python locations.
[blender.git] / source / gameengine / BlenderRoutines / Makefile
index 9a4ba217ac7db433aebd506667ecf991b1c2b5c4..93faaa64a32483c734ce6696873c39b5ee9ac4c2 100644 (file)
@@ -71,5 +71,9 @@ ifeq ($(OS),windows)
     CPPFLAGS += -I../../blender
 endif
 
-CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
+ifeq ($(OS),freebsd)
+    CPPFLAGS += -I$(NAN_PYTHON)$(NAN_PYTHON_VERSION)
+else
+    CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
+endif