Received: from eggs.gnu.org ([2001:4830:134:3::10]:43189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiJjL-0004w0-RE for qemu-devel@nongnu.org; Thu, 08 May 2014 04:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiJjB-0007Os-5k for qemu-devel@nongnu.org; Thu, 08 May 2014 04:31:03 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:46646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiJjA-0007Ob-Ts for qemu-devel@nongnu.org; Thu, 08 May 2014 04:30:53 -0400 From: Michael Tokarev Date: Thu, 8 May 2014 12:30:49 +0400 Message-Id: <1399537849-13436-5-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1399537849-13436-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1399537849-13436-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: [Qemu-devel] [PULL 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 , Alon Levy , Stefan Hajnoczi 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 --- libcacard/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 89a5942..b620c28 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: LIBS = $(libcacard_libs) libcacard.la: $(libcacard-lobj-y) $(call LINK,$^) -- 1.7.10.4