Skip to content

Commit a88bbb1

Browse files
committed
250902.142024.CST [skip ci] matlab: revise compile.m regarding getMexLibgcc
1 parent 942eacd commit a88bbb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matlab/setup_tools/compile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function compile(solvers, mexdir, fortd, gateways, options)
9999
gcc_version = getMexLibgcc().gccVersion;
100100
catch exception
101101
gcc_version = '';
102-
if verbose
102+
if verbose && isunix && ~ismac % As of 20250902, getMexLibgcc supports only Linux.
103103
warning('prima:FailToGetGccVersion', 'Fail to get the version of libgcc: %s', exception.message);
104104
end
105105
end

0 commit comments

Comments
 (0)