diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk index 53f66939869..7c3334bc335 100644 --- a/source/nan_definitions.mk +++ b/source/nan_definitions.mk @@ -80,9 +80,12 @@ all debug:: else export NAN_FTGL ?= $(LCGDIR)/ftgl endif - export NAN_SDL ?= $(shell sdl-config --prefix) - export NAN_SDLLIBS ?= $(shell sdl-config --libs) - export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags) + + ifneq ($(OS), irix) + export NAN_SDL ?= $(shell sdl-config --prefix) + export NAN_SDLLIBS ?= $(shell sdl-config --libs) + export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags) + endif # Platform Dependent settings go below: