Mercurial > octave-nkf
comparison scripts/pkg/pkg.m @ 7329:bf3fb3477d2a
[project @ 2007-12-20 16:55:26 by jwe]
author | jwe |
---|---|
date | Thu, 20 Dec 2007 16:55:26 +0000 |
parents | a730e47fda4d |
children | bb7cc90cdc5e |
comparison
equal
deleted
inserted
replaced
7328:d0784e593d39 | 7329:bf3fb3477d2a |
---|---|
2081 endif | 2081 endif |
2082 endfor | 2082 endfor |
2083 endfunction | 2083 endfunction |
2084 | 2084 |
2085 function dep = is_architecture_dependent (nm) | 2085 function dep = is_architecture_dependent (nm) |
2086 persistent archdepsuffix = {".oct",".mex",".a",".so",".so.*",".dll","dylib"}; | 2086 persistent archdepsuffix = {".oct",".mex",".a",".lib",".so",".so.*",".dll","dylib"}; |
2087 | 2087 |
2088 dep = false; | 2088 dep = false; |
2089 for i = 1 : length (archdepsuffix) | 2089 for i = 1 : length (archdepsuffix) |
2090 ext = archdepsuffix{i}; | 2090 ext = archdepsuffix{i}; |
2091 if (ext(end) == "*") | 2091 if (ext(end) == "*") |