[PATCH 2/2] do not link spice with libcacard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]