From 5790ab5ce0e7765e1a750557434d795edc66fc9b Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Mon, 29 Oct 2012 09:59:07 +0000 Subject: [PATCH] Fix scons renderer option --- SConscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 64862a899..da12860b0 100644 --- a/SConscript +++ b/SConscript @@ -126,7 +126,7 @@ else: env.Append(CPPPATH=['src/', 'data/', 'generated/']) env.Append(CCFLAGS=['-w', '-std=c++98', '-fkeep-inline-functions']) env.Append(LIBS=['pthread', 'm']) -env.Append(CPPDEFINES=["USE_SDL", "LUACONSOLE", "GRAVFFT", "_GNU_SOURCE", "USE_STDINT", "_POSIX_C_SOURCE=200112L"]) +env.Append(CPPDEFINES=["LUACONSOLE", "GRAVFFT", "_GNU_SOURCE", "USE_STDINT", "_POSIX_C_SOURCE=200112L"]) if GetOption("ptw32-static"): env.Append(CPPDEFINES=['PTW32_STATIC_LIB']); @@ -136,6 +136,8 @@ if(GetOption('static')): if(GetOption('renderer')): env.Append(CPPDEFINES=['RENDERER']) +else: + env.Append(CPPDEFINES=["USE_SDL"]) if(GetOption('win')): openGLLibs = ['opengl32', 'glew32']