Forked from
Dynare / dynare
Source project has a limited visibility.
-
Sébastien Villemot authored
Fixes https://forum.dynare.org/t/invalid-mex-file-whe-running-sensitivity-analysis-m1-mac-6-1/25829 It seems that meson does not link libquadmath (which is needed by libgfortran). When doing dynamic linking, this is not an issue since the dynamic linker loads libquadmath recursively after loading libgfortran. But when doing static linking, libquadmath needs to be explicitly linked. Not yet clear at this point: why isn’t this needed under Linux and Windows?
Sébastien Villemot authoredFixes https://forum.dynare.org/t/invalid-mex-file-whe-running-sensitivity-analysis-m1-mac-6-1/25829 It seems that meson does not link libquadmath (which is needed by libgfortran). When doing dynamic linking, this is not an issue since the dynamic linker loads libquadmath recursively after loading libgfortran. But when doing static linking, libquadmath needs to be explicitly linked. Not yet clear at this point: why isn’t this needed under Linux and Windows?