We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d346e48 commit 43c0203Copy full SHA for 43c0203
1 file changed
build_mex.m
@@ -4,18 +4,13 @@
4
% C compiler (mex -setup)
5
6
libs = {'-llsl64'};
7
-if ispc
8
- dllext = 'dll';
9
-elseif ismac
10
- dllext = 'dylib';
11
-elseif isunix
12
- dllext = 'so';
+if isunix
13
libs = {'-llsl64','-ldl'};
14
end
15
16
17
-if isempty(dir(['bin/liblsl64.', dllext]))
18
- %error(['liblsl64.' dllext ' not found in bin/']);
+if ispc && isempty(dir('bin/liblsl64.lib'))
+ error('liblsl64.lib not found in bin/');
19
20
21
ext = ['.' mexext];
0 commit comments