From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCSKo-0000Cz-3W for qemu-devel@nongnu.org; Sun, 09 Feb 2014 06:14:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCSKe-00032D-Jw for qemu-devel@nongnu.org; Sun, 09 Feb 2014 06:14:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCSKe-00031v-Cd for qemu-devel@nongnu.org; Sun, 09 Feb 2014 06:13:52 -0500 From: Alon Levy Date: Sun, 9 Feb 2014 13:13:37 +0200 Message-Id: <1391944417-28671-2-git-send-email-alevy@redhat.com> In-Reply-To: <1391944417-28671-1-git-send-email-alevy@redhat.com> References: <1391944417-28671-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PULL 1/1] libcacard: Don't link with all libraries QEMU links to List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Anthony Liguori From: Christophe Fergeau 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 Signed-off-by: Alon Levy --- libcacard/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 4d15da4..6b06448 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -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,$^) -- 1.8.5.3