diff --git a/source/Makefile b/source/Makefile index da0767afa7b..3a24c6cb37a 100644 --- a/source/Makefile +++ b/source/Makefile @@ -39,7 +39,7 @@ endif include nan_definitions.mk DIRS = creator blender kernel gameengine -ifneq ($(OS),$(findstring $(OS), "darwin freebsd irix")) +ifneq ($(OS),$(findstring $(OS), "darwin freebsd irix linux")) DIRS += ode endif diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk index 1154878ed36..eab31f78ee1 100644 --- a/source/nan_definitions.mk +++ b/source/nan_definitions.mk @@ -158,6 +158,7 @@ all debug:: ifeq ($(OS),linux) export ID = $(shell whoami) export HOST = $(shell hostname -s) + export NAN_ODE = $(LCGDIR)/ode endif ifeq ($(OS),openbsd)