From aeb1a9ee1b3720495f9bd4a61e106b13866bb9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 17 Sep 2010 11:23:00 +0200 Subject: [PATCH] Preprocessor: make option "no_static" work even when "bytecode" is not present --- preprocessor/ModFile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index 50a62e616..c3009e2ac 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/ModFile.cc @@ -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); }