Skip to content

Commit b45087f

Browse files
mattipseiko2plus
authored andcommitted
update syntax for MKL get_option()
1 parent 8650ab3 commit b45087f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mesonbuild/dependencies/blas_lapack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def __init__(self, name: str, env: 'Environment', kwargs: T.Dict[str, T.Any]) ->
855855
# available before the .pc file for SDL
856856
self.use_sdl = False
857857

858-
static_opt = kwargs.get('static', env.coredata.get_option(OptionKey('prefer_static')))
858+
static_opt = kwargs.get('static', env.coredata.optstore.get_value_for(OptionKey('prefer_static')))
859859
libtype = 'static' if static_opt else 'dynamic'
860860

861861
if self.use_sdl:

0 commit comments

Comments
 (0)