diff --git a/wscript b/wscript index 70678c321a..fe80117e2e 100644 --- a/wscript +++ b/wscript @@ -557,7 +557,8 @@ int main() { return 0; }''', compiler_flags.append ('-DPROGRAM_NAME="' + Options.options.program_name + '"') compiler_flags.append ('-DPROGRAM_VERSION="' + PROGRAM_VERSION + '"') - + conf.env['PROGRAM_NAME'] = Options.options.program_name + if opt.debug: conf.env.append_value('CFLAGS', debug_flags) conf.env.append_value('CXXFLAGS', debug_flags)