]> git.proxmox.com Git - mirror_qemu.git/commitdiff
libcacard: Don't link with all libraries QEMU links to
authorChristophe Fergeau <cfergeau@redhat.com>
Thu, 30 Jan 2014 13:56:49 +0000 (14:56 +0100)
committerAlon Levy <alevy@redhat.com>
Sun, 9 Feb 2014 11:06:02 +0000 (13:06 +0200)
As described in https://bugzilla.redhat.com/show_bug.cgi?id=987441 ,
libcacard currently links to all the libraries QEMU is linking to,
including glusterfs libraries, libiscsi, ... libcacard does not need all of
these. This patch ensures it's only linked with the libraries it needs.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Signed-off-by: Alon Levy <alevy@redhat.com>
libcacard/Makefile

index 4d15da49b80f3832bdc2d3361faa72537d3cbf15..6b064485fa0aa261dc12305359a648e264f34ec7 100644 (file)
@@ -25,7 +25,7 @@ vscclient$(EXESUF): libcacard/vscclient.o libcacard.la
 
 libcacard.la: LDFLAGS += -rpath $(libdir) -no-undefined \
        -export-syms $(SRC_PATH)/libcacard/libcacard.syms
-libcacard.la: LIBS += $(libcacard_libs)
+libcacard.la: LIBS = $(libcacard_libs)
 libcacard.la: $(libcacard-lobj-y)
        $(call LINK,$^)