Skip to content

Commit 56110ef

Browse files
committed
build_mex: ifmac then add @loader_path to rpath for lsl_loadlib_
1 parent 4af15a5 commit 56110ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_mex.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@
3232
disp([base, ext, ' up to date']);
3333
end
3434
end
35+
if ismac
36+
system('install_name_tool -add_rpath "@loader_path/" lsl_loadlib_.mexmaci64')
37+
end
3538
cd('..');

0 commit comments

Comments
 (0)