summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authormottelet <stephane.mottelet@utc.fr>2021-02-01 09:01:50 +0100
committerClément David <clement.david@esi-group.com>2021-03-17 11:14:06 +0100
commitdc43fe423fcb72cdb633ec7245e643778ebca0f2 (patch)
treea5b6689b0271aab2c8995493be0a272d8c08c6d1 /scilab
parente19c04f10e3b3a993d536dd72d5ed7affd06dbe2 (diff)
downloadscilab-dc43fe423fcb72cdb633ec7245e643778ebca0f2.zip
scilab-dc43fe423fcb72cdb633ec7245e643778ebca0f2.tar.gz
[dynamic_link] fix ilib_gen_Make_unix regression after fb164e7
empty parms ([] instead of "") caused some problems. Change-Id: I10610122996a23643812097f5d614861a02826cb
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci3
1 files changed, 2 insertions, 1 deletions
diff --git a/scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci b/scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci
index 595b508..ace6158 100644
--- a/scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci
+++ b/scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci
@@ -158,7 +158,8 @@ function ilib_gen_Make_unix(names, ..
158 end 158 end
159 end 159 end
160 160
161 stringToHash = libname + ldflags + cflags + fflags + cc; 161 stringToHash = strcat([libname,ldflags,cflags,fflags,cc])
162
162 hash = getmd5(stringToHash,"string"); 163 hash = getmd5(stringToHash,"string");
163 md5file = fullfile(usercommandpath,libname+".md5"); 164 md5file = fullfile(usercommandpath,libname+".md5");
164 if stringToHash == libname || (isfile(md5file) && ... 165 if stringToHash == libname || (isfile(md5file) && ...