From 01ae836a99788e026405f06fd767ef6712faec55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 20 Sep 2023 11:58:23 +0200 Subject: [PATCH] Meson build system / Octave: fix use_dll option with perfect_foresight_problem and k-order MEX The MEX extension was not properly passed at compile time. This is the same issue as 6af9b5f268b24e73a37452edb59ad04659408553 for MATLAB. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index e6bb984059..60109e20d8 100644 --- a/meson.build +++ b/meson.build @@ -162,7 +162,7 @@ else # Octave build exe_rpath = octlibdir exe_link_args = [ '-L' + octlibdir ] + octave_libs - octave_defs = [ '-DOCTAVE_MEX_FILE', '-DMEXEXT="mex"' ] + octave_defs = [ '-DOCTAVE_MEX_FILE', '-DMEXEXT=".mex"' ] mex_kwargs = { 'name_prefix' : '', 'name_suffix' : 'mex', -- GitLab