[Spice-devel,2/2] do not link spice with libcacard

Submitted by Michael Tokarev on Oct. 8, 2015, 10:04 p.m.

Details

Message ID 1444341852-9285-2-git-send-email-mjt@msgid.tls.msk.ru
State New
Headers show

Not browsing as part of any series.

Commit Message

Michael Tokarev Oct. 8, 2015, 10:04 p.m.
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@tls.msk.ru>
---
 spice-common/m4/spice-deps.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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)'])
 ])