compiler = meson.get_compiler('c') winscard_lib = compiler.find_library('winscard') deps = [ winscard_lib, ] shared_library( 'aimeio', implicit_include_directories : false, vs_module_defs : 'aimeio.def', sources: [ 'aimeio.c' ], dependencies: deps, )