summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini2012-12-20 20:40:35 +0100
committerPaolo Bonzini2013-01-12 17:19:38 +0100
commitb6fc675b25d32f018870e202eb4b2a6eb509f88b (patch)
tree53702e8cae473a9448bc8115ac2aa1f7550e9ce3 /Makefile
parentlibcacard: fix missing symbol in libcacard.so (diff)
downloadqemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.tar.gz
qemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.tar.xz
qemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.zip
libcacard: require libtool to build it
Do not fail at build time, instead just disable the library if libtool is not present. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3c960a166f..f035a61ce3 100644
--- a/Makefile
+++ b/Makefile
@@ -160,12 +160,14 @@ libqemustub.a: $(stub-obj-y)
######################################################################
# Support building shared library libcacard
+ifeq ($(CONFIG_SMARTCARD_NSS),y)
.PHONY: libcacard.la install-libcacard
libcacard.la: $(oslib-obj-y) qemu-timer-common.o $(trace-obj-y)
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libcacard V="$(V)" TARGET_DIR="$*/" libcacard.la,)
install-libcacard: libcacard.la
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libcacard V="$(V)" TARGET_DIR="$*/" install-libcacard,)
+endif
######################################################################