diff options
Diffstat (limited to 'source/gameengine/Expressions')
-rw-r--r-- | source/gameengine/Expressions/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/gameengine/Expressions/Makefile b/source/gameengine/Expressions/Makefile index f4732b145d6..31d242543e3 100644 --- a/source/gameengine/Expressions/Makefile +++ b/source/gameengine/Expressions/Makefile @@ -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../../kernel/gen_system |