summaryrefslogtreecommitdiffstats
path: root/libcacard/Makefile
diff options
context:
space:
mode:
authorMichael Tokarev2014-05-08 10:30:49 +0200
committerPaolo Bonzini2014-06-10 07:44:01 +0200
commitae9b65e873ac189154429a2488add46c33bfe651 (patch)
tree21ab9af540ee09e588f64269df250fb4018fc57b /libcacard/Makefile
parentlibcacard: replace qemu thread primitives with glib ones (diff)
downloadqemu-ae9b65e873ac189154429a2488add46c33bfe651.tar.gz
qemu-ae9b65e873ac189154429a2488add46c33bfe651.tar.xz
qemu-ae9b65e873ac189154429a2488add46c33bfe651.zip
libcacard: actually use symbols file
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>
Diffstat (limited to 'libcacard/Makefile')
-rw-r--r--libcacard/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcacard/Makefile b/libcacard/Makefile
index 92d3b47b6a..0e7903fcfb 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,$^)