and the other FreeBSD python locations.
[blender.git] / source / gameengine / Ketsji / KXNetwork / Makefile
index bce2cbc29a36b2bf885e7ead1e5c0952752a2bd9..19243d53b7373b6983d2bab06d5f0ce4f3992c1d 100644 (file)
@@ -38,7 +38,12 @@ include nan_compile.mk
 
 CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
 
-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_STRING)/include    
 CPPFLAGS += -I../../Expressions
 CPPFLAGS += -I../../GameLogic