From patchwork Sat Jan 12 17:35:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 211538 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 34F502C0101 for ; Sun, 13 Jan 2013 05:28:41 +1100 (EST) Received: from localhost ([::1]:38134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu51j-00040H-9i for incoming@patchwork.ozlabs.org; Sat, 12 Jan 2013 12:37:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu50i-0002kk-LZ for qemu-devel@nongnu.org; Sat, 12 Jan 2013 12:36:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tu50Z-0000Py-5K for qemu-devel@nongnu.org; Sat, 12 Jan 2013 12:36:48 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:56565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu50Y-0000Pq-Vg for qemu-devel@nongnu.org; Sat, 12 Jan 2013 12:36:39 -0500 Received: by mail-wg0-f41.google.com with SMTP id ds1so422620wgb.4 for ; Sat, 12 Jan 2013 09:36:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=crV0kAoPmmgSQNldw9mUNAZ/D2LueWo8jFTMEFJhPTg=; b=iZUKgD1LcOqEDznF7eLNZ9hcln7mnr3yA1vPACIUts9BgKzXFMXS7r1v1RcYbaWfJG ecH/fJ+4vgbFLyxghZlA+GzO+vxJfz5CGsKazBBwTDF+L7nLhym+nTWqFanf05m9DKuO 4dHISe2TF6hp1hKczcw99s0Uy2eZn/TpDIrL0mgYt+ZZ5LJpN23k2Zq5Z4rMohjJfTxb fYg9lE48IsWm0u8z5No2HRnSToVtcjnRvZoNmrH0Xh0FbioHFnqz8SP1XPbLt2KqoKWS zWL8wdfsv753f3chIVjChVzUIbF6F6ZFFtWancZYBGLPGgl53LbVyGR3pgBtCwaYSE8n krjg== X-Received: by 10.180.79.194 with SMTP id l2mr4815694wix.22.1358012198204; Sat, 12 Jan 2013 09:36:38 -0800 (PST) Received: from yakj.lan (93-34-179-137.ip50.fastwebnet.it. [93.34.179.137]) by mx.google.com with ESMTPS id h19sm4576016wiv.7.2013.01.12.09.36.36 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 12 Jan 2013 09:36:37 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Sat, 12 Jan 2013 18:35:24 +0100 Message-Id: <1358012138-21613-14-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1358012138-21613-1-git-send-email-pbonzini@redhat.com> References: <1358012138-21613-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::229 Subject: [Qemu-devel] [PATCH 13/27] libcacard: link vscclient to dynamic library X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org There is no reason for vscclient to duplicate the code. rules.mak takes care of invoking libtool to do the link. Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 34ef3b4..63d82f4 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -11,8 +11,7 @@ $(libcacard-obj-y): | $(libcacard-lobj-y) all: libcacard.la libcacard.pc -vscclient$(EXESUF): LIBS += $(libcacard_libs) -vscclient$(EXESUF): libcacard/vscclient.o $(libcacard-obj-y) +vscclient$(EXESUF): libcacard/vscclient.o libcacard.la $(call LINK,$^) #########################################################################