Preprocessor: make option "no_static" work even when "bytecode" is not present

issue#70
Sébastien Villemot 2010-09-17 11:23:00 +02:00
parent 2da9d5adda
commit ffd2cb24aa
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all
dynamic_model.writeOutput(mOutputFile, basename, block, byte_code, use_dll, mod_file_struct.order_option);
else
dynamic_model.writeOutput(mOutputFile, basename, false, false, false, mod_file_struct.order_option);
if (!byte_code && !no_static)
if (!no_static)
static_model.writeOutput(mOutputFile, block);
}