Skip to content

Commit 99d408f

Browse files
committed
update syntax for MKL get_option()
1 parent cb85ff2 commit 99d408f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonbuild/dependencies/blas_lapack.py

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

874-
static_opt = kwargs.get('static', env.coredata.get_option(OptionKey('prefer_static')))
874+
static_opt = kwargs.get('static', env.coredata.optstore.get_value_for(OptionKey('prefer_static')))
875875
libtype = 'static' if static_opt else 'dynamic'
876876

877877
if self.use_sdl:

0 commit comments

Comments
 (0)