mirror of https://github.com/swig/swig
fix buildermode error with Scilab V6
This commit is contained in:
parent
66f150b853
commit
18832e938c
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue