Skip to content

Commit

Permalink
restore compiler state after build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed May 24, 2019
1 parent 2786288 commit b664f56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_slicot.nls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// LICENCE_BLOCK_END
//=============================================================================
configure_compiler = false;
if ispc()
configure_compiler = true;
configuremsvc();
end
//=============================================================================
Expand Down Expand Up @@ -63,6 +65,9 @@ if ~status
end
//=============================================================================
[status, message] = dlmake(destinationdir);
if configure_compiler
removecompilerconf();
end
if ~status
error(message);
exit(1);
Expand Down

0 comments on commit b664f56

Please sign in to comment.