libcacard: actually use symbols file
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 8 May 2014 08:30:49 +0000 (12:30 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Jun 2014 05:44:01 +0000 (07:44 +0200)
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 <mjt@tls.msk.ru>
Reviewed-by: Alon Levy <alevy@redhat.com>
Tested-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
libcacard/Makefile

index 92d3b47..0e7903f 100644 (file)
@@ -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,$^)