aboutsummaryrefslogtreecommitdiff
path: root/libcacard/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-20 20:40:35 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-01-12 17:19:38 +0100
commitb6fc675b25d32f018870e202eb4b2a6eb509f88b (patch)
tree53702e8cae473a9448bc8115ac2aa1f7550e9ce3 /libcacard/Makefile
parente832341bde5448a6a1392ea903a553497a13763b (diff)
downloadqemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.zip
qemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.tar.gz
qemu-b6fc675b25d32f018870e202eb4b2a6eb509f88b.tar.bz2
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 'libcacard/Makefile')
-rw-r--r--libcacard/Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/libcacard/Makefile b/libcacard/Makefile
index 08a47e0..a526eae 100644
--- a/libcacard/Makefile
+++ b/libcacard/Makefile
@@ -31,13 +31,6 @@ all: libcacard.la libcacard.pc
#########################################################################
# Rules for building libcacard standalone library
-ifeq ($(LIBTOOL),)
-libcacard.la:
- @echo "libtool is missing, please install and rerun configure"; exit 1
-
-install-libcacard:
- @echo "libtool is missing, please install and rerun configure"; exit 1
-else
libcacard.la: $(libcacard.lib-y) $(QEMU_OBJS_LIB)
$(call quiet-command,$(LIBTOOL) --mode=link --tag=CC $(CC) -rpath $(libdir) -o $@ $^ $(libcacard_libs)," lt LINK $@")
@@ -63,4 +56,3 @@ install-libcacard: libcacard.pc libcacard.la vscclient
for inc in *.h; do \
$(INSTALL_DATA) $(libcacard_srcpath)/$$inc "$(DESTDIR)$(libcacard_includedir)"; \
done
-endif