# -*- python -*- Import('env') files = [] #So it's declared outside the if if env['HAVE_WX']: files += [ 'CodeView.cpp', 'DebuggerUIUtil.cpp', 'MemoryView.cpp', ] acenv = env.Clone() acenv.Append(CXXFLAGS = [ '-fPIC' ]) acenv.StaticLibrary(env['local_libs'] + 'debugger_ui_util', files)