PCSC icon indicating copy to clipboard operation
PCSC copied to clipboard

meson build always builds both libraries - shared/static

Open heitbaum opened this issue 10 months ago • 1 comments

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

heitbaum avatar Feb 02 '25 15:02 heitbaum

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.

LudovicRousseau avatar Feb 02 '25 16:02 LudovicRousseau

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.

LudovicRousseau avatar Oct 20 '25 20:10 LudovicRousseau