meson build always builds both libraries - shared/static
When building with meson the following option should only build static. -Ddefault_library=static, the default should be shared. And there is the option to build both (which is what is currently occurring.)
Ref: https://mesonbuild.com/Builtin-options.html
default_both_libraries {shared, static, auto} shared Default library type for both_libraries no no
default_library {shared, static, both} shared Default library type no yes
The static library is not equivalent to the shared library. https://github.com/LudovicRousseau/PCSC/commit/6eb4d1cc7e57826dad2a2fafcc1a65a7e72ca54f
Please propose a patch as I do not see what you want exactly.
This should be fixed with https://github.com/LudovicRousseau/PCSC/commit/6c2ddd27e37854de1eca0d3e2e64afe888d85d21 included in version 2.4.0.
If not please reopen the issue and explain what is missing.