None of the libcacard symbols are actually used by the library, only the header files, so there's no need to link with libcacard. Signed-off-by: Michael Tokarev <mjt@xxxxxxxxxx> --- spice-common/m4/spice-deps.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spice-common/m4/spice-deps.m4 b/spice-common/m4/spice-deps.m4 index 64e7093..532472a 100644 --- a/spice-common/m4/spice-deps.m4 +++ b/spice-common/m4/spice-deps.m4 @@ -58,7 +58,8 @@ AC_DEFUN([SPICE_CHECK_SMARTCARD], [ fi fi AS_VAR_APPEND([$1_CFLAGS], [' $(SMARTCARD_CFLAGS)']) - AS_VAR_APPEND([$1_LIBS], [' $(SMARTCARD_LIBS)']) +dnl only headers are used, not the lib itself +dnl AS_VAR_APPEND([$1_LIBS], [' $(SMARTCARD_LIBS)']) ]) -- 2.1.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel