diff --git a/src/SConscript b/src/SConscript index 2135cac67..190b9c8d3 100644 --- a/src/SConscript +++ b/src/SConscript @@ -39,7 +39,6 @@ libs = [('base', ['cpp'], baseSetup), for subdir, extensions, setup in libs: localenv = env.Clone() localenv.Prepend(CPPPATH=Dir('#include')) - localenv.Prepend(CPPPATH=Dir('#src')) # todo: remove when not needed localenv.Append(CCFLAGS=env['warning_flags']) source = setup(localenv, subdir, extensions) objects = localenv.SharedObject(source) diff --git a/src/apps/SConscript b/src/apps/SConscript index c0730c97f..fdd46b85f 100644 --- a/src/apps/SConscript +++ b/src/apps/SConscript @@ -2,7 +2,7 @@ from buildutils import * Import('env', 'build', 'install') localenv = env.Clone() -localenv.Prepend(CPPPATH=['#src', '#include', '#src/apps']) +localenv.Prepend(CPPPATH=['#include', '#src/apps']) def buildProgram(name, src): prog = build(localenv.Program(target=pjoin('#build/bin', name),