aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxc/Makefile')
-rw-r--r--tools/libxc/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index f2e1ba78a8..55eb755059 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -172,20 +172,7 @@ libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
ifeq ($(CONFIG_MiniOS),y)
zlib-options =
else
-zlib-options = $(shell \
- (. ../check/funcs.sh; \
- if has_header bzlib.h; then \
- echo "-DHAVE_BZLIB"; \
- echo "-lbz2"; \
- fi; \
- if has_header lzma.h; then \
- echo "-DHAVE_LZMA"; \
- echo "-llzma"; \
- fi; \
- if has_header lzo/lzo1x.h; then \
- echo "-DHAVE_LZO1X"; \
- echo "-llzo2"; \
- fi) | grep $(1))
+zlib-options = $(ZLIB)
endif
xc_dom_bzimageloader.o: CFLAGS += $(call zlib-options,D)