fix buildermode error with Scilab V6

This commit is contained in:
Simon Marchetto 2015-01-12 16:20:03 +01:00
parent 66f150b853
commit 18832e938c
1 changed files with 1 additions and 0 deletions

View File

@ -944,6 +944,7 @@ public:
Printf(builderCode, " ierr = execstr(\"ilib_build(''%s'', table, files, libs, [], ldflags, cflags);\", 'errcatch');\n", gatewayName);
Printf(builderCode, " if ierr <> 0 then\n");
Printf(builderCode, " err_msg = lasterror();\n");
Printf(builderCode, " end\n");
Printf(builderCode, "end\n");
Printf(builderCode, "cd(originaldir);\n");
Printf(builderCode, "if ierr <> 0 then\n");