From ffd2cb24aad050a269a53d84ec7e42cb8ecb640f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Fri, 17 Sep 2010 11:23:00 +0200
Subject: [PATCH] Preprocessor: make option "no_static" work even when
 "bytecode" is not present

---
 ModFile.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ModFile.cc b/ModFile.cc
index 50a62e61..c3009e2a 100644
--- a/ModFile.cc
+++ b/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);
     }
 
-- 
GitLab