File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,6 @@ endif
125125
126126# Use mirage-block for pwritev|preadv
127127HAVE_OCAML_QCOW := $(shell if ocamlfind query qcow uri >/dev/null 2>/dev/null ; then echo YES ; else echo NO; fi)
128- # included 'qcow2' in the $GO_BUILD_TAGS, and $HAVE_OCAML_QCOW is YES
129- ifneq (,$(findstring qcow2,$(GO_BUILD_TAGS ) ) )
130128ifeq ($(HAVE_OCAML_QCOW ) ,YES)
131129LIBEV_FILE =/usr/local/lib/libev.a
132130LIBEV =$(shell if test -e $(LIBEV_FILE ) ; then echo $(LIBEV_FILE ) ; fi )
@@ -146,9 +144,9 @@ OCAML_LDLIBS := -L $(OCAML_WHERE) \
146144 -lasmrun -lbigarray -lunix
147145CGO_CFLAGS += -DHAVE_OCAML=1 -DHAVE_OCAML_QCOW=1 -DHAVE_OCAML=1 -I$(OCAML_WHERE )
148146CGO_LDFLAGS += $(OCAML_LDLIBS )
147+ GO_BUILD_TAGS += qcow2
149148bin/docker-machine-driver-xhyve : vendor/github.com/zchee/libhyperkit/mirage_block_ocaml.o
150149endif
151- endif
152150
153151
154152GO_BUILD_FLAG += -tags='$(GO_BUILD_TAGS ) '
You can’t perform that action at this time.
0 commit comments