if disabled_drivers.contains(drv_path)
build = false
- reason = 'Explicitly disabled via build config'
+ reason = 'explicitly disabled via build config'
else
# pull in driver directory which should update all the local variables
subdir(drv_path)
foreach d:deps
if not is_variable('shared_rte_' + d)
build = false
- reason = 'Missing internal dependency, "@0@"'.format(d)
+ reason = 'missing internal dependency, "@0@"'.format(d)
message('Disabling @1@ [@2@]: missing internal dependency "@0@"'
.format(d, name, 'drivers/' + drv_path))
else
lk_deps = [version_map, def_file, mingw_map]
if is_windows
if is_ms_linker
- lk_args = ['-Wl,/def:' + def_file.full_path(),
- '-Wl,/implib:drivers\\' + implib]
+ lk_args = ['-Wl,/def:' + def_file.full_path()]
+ if meson.version().version_compare('<0.54.0')
+ lk_args += ['-Wl,/implib:drivers\\' + implib]
+ endif
else
lk_args = ['-Wl,--version-script=' + mingw_map.full_path()]
endif