diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,6 +17,7 @@ if env['PLATFORM'] == 'darwin': env.Append(LIBPATH = ['/opt/local/lib']) env.Append(FRAMEWORKS = ['SDL', 'SDL_image', 'Cocoa', 'OpenGL', 'AppKit']) else: + env.Append(CPPPATH = ['.']) env.Append(LIBS = ['GL', 'GLU', 'SDL', 'SDL_image']) env.ParseConfig('sdl-config --cflags --libs') env.ParseConfig('pkg-config --cflags --libs ftgl') @@ -35,7 +36,7 @@ env.Append(LIBS = ['wriggle']) env.Append(LIBPATH = ['wriggle']) env.Library('engine/engine', engine) -env.Append(LIBS = ['engine']) +env.Prepend(LIBS = ['engine']) env.Append(LIBPATH = ['engine']) env.Program('foo', ['main.cpp']) |