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

@ -1611,7 +1611,7 @@ scilab_version:
# -----------------------------------------------------------------
scilab_clean:
rm -f *.sce *.so lib*lib.c *_wrap.*
rm -f *.sce *.so lib*.c *_wrap.*
##################################################################
##### Go ######

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)