From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnnuY-0000Kz-L3 for qemu-devel@nongnu.org; Fri, 23 May 2014 07:45:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnnuT-0000ES-Gh for qemu-devel@nongnu.org; Fri, 23 May 2014 07:45:18 -0400 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:48908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnnuT-0000EG-Ad for qemu-devel@nongnu.org; Fri, 23 May 2014 07:45:13 -0400 Received: by mail-ee0-f44.google.com with SMTP id c41so3680242eek.3 for ; Fri, 23 May 2014 04:45:12 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 23 May 2014 13:44:57 +0200 Message-Id: <1400845497-29618-5-git-send-email-pbonzini@redhat.com> In-Reply-To: <1400845497-29618-1-git-send-email-pbonzini@redhat.com> References: <1400845497-29618-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 4/4] 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 , stefanha@redhat.com, mjt@mls.msk.ru 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 files changed, 1 insertions(+), 1 deletions(-) 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.7.1