scilab: in library name remove suffix lib, add option to choose name instead

This commit is contained in:
Simon Marchetto 2014-04-17 14:39:04 +02:00
commit 4c426d47a0
3 changed files with 23 additions and 9 deletions

View file

@ -10,7 +10,7 @@ swigtestname = strsubst(fileparts(names, "fname"), "_runme", "");
testdir = swigtestname + ".dir";
// Does the library exists? If not then exit!
libname = "lib" + swigtestname + "lib" + getdynlibext();
libname = "lib" + swigtestname + getdynlibext();
if ~isfile(fullfile(testdir, libname)) then
mfprintf(0, "*** LIBRARY NOT FOUND: %s ***\n", libname);
exit(1)