From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuF32-0006uW-CQ for qemu-devel@nongnu.org; Tue, 10 Jun 2014 01:56:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuF2v-0004XK-3C for qemu-devel@nongnu.org; Tue, 10 Jun 2014 01:56:40 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:60190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuF2u-0004X7-TQ for qemu-devel@nongnu.org; Tue, 10 Jun 2014 01:56:33 -0400 Received: by mail-wg0-f52.google.com with SMTP id b13so2012527wgh.11 for ; Mon, 09 Jun 2014 22:56:31 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 10 Jun 2014 07:56:17 +0200 Message-Id: <1402379781-844-5-git-send-email-pbonzini@redhat.com> In-Reply-To: <1402379781-844-1-git-send-email-pbonzini@redhat.com> References: <1402379781-844-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 4/8] libcacard: actually use symbols file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Michael Tokarev From: Michael Tokarev libtool has an argument for .syms file, which is -export-symbols. There's no argument `-export-syms', and it looks like at least on linux, -export-syms is just ignored. Use the correct argument, -export-symbols, to actually get the right export list. Signed-off-by: Michael Tokarev Reviewed-by: Alon Levy Tested-by: Alon Levy Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 92d3b47..0e7903f 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -18,7 +18,7 @@ vscclient$(EXESUF): libcacard/vscclient.o libcacard.la # Rules for building libcacard standalone library libcacard.la: LDFLAGS += -rpath $(libdir) -no-undefined \ - -export-syms $(SRC_PATH)/libcacard/libcacard.syms + -export-symbols $(SRC_PATH)/libcacard/libcacard.syms libcacard.la: $(libcacard-lobj-y) $(call LINK,$^) -- 1.8.3.1