Preprocessor: delete remaining dynamic.m file when using USE_DLL

time-shift
Sébastien Villemot 2010-12-08 11:32:13 +01:00
parent 965ea7280a
commit 8b9d0e91b5
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console,
<< "end" << endl;
// Erase possible remnants of previous runs
if (block || byte_code)
if (block || byte_code || use_dll)
mOutputFile << "if exist('" << basename << "_dynamic.m', 'file')" << endl
<< " delete('" << basename << "_dynamic.m');" << endl
<< "end" << endl;