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 6af9b5f268 for MATLAB.
kalman-mex
Sébastien Villemot 2023-09-20 11:58:23 +02:00
parent ba0fef9879
commit 01ae836a99
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -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',